An athletic facility is building an indoor track. The track is composed of a rectangle and two semi circles.
a. Write a formula for the perimeter of the indoor track. Then solve the formula for x.
b. The perimeter of the track is 660 feet, and r is 50 feet. Find x. Round your answer to the nearest foot.