Suppose that 430 ft of fencing is used to enclose a corral in the shape of a rectangle with a semicircle whose diameter is a side of the rectangle. (In the figure below, the blue outline represents the fencing.) Find the dimensions of the corral with maximum area.

x=?
y=?

i tried couple of ways but got the wrong answer, i know i have to take the derivative and find the minimum value for x but i don't know how to set it up.