A rectangle is bounded by the x-axis and the semicircle

y = sqrt(25 - x^2)

What length and width should the rectangle have so that its area is a maximum?

I end up with A' = (-2x^2 + 25) / (25 - x^2)^1/2. Am I on the right track or did I make a terrible mistake?