A rectangle is Inscribed in a semicircle of radius 2.
Let P = (x, y) be the point in quadrant 1 that is a vertex of the rectangle and is on the circle.
(a) Express the area A of the rectangle as a function of x.
(b) Express the perimeter p of the rectangle as a function of x.