A city planner has to build two small parks, shown in the diagram below. Park a is a triangle and park b is a rectangle. Find the length of each side of the park.