Hi I am having a bit of a struggle with this questions:

I have tried using sine and cosine but it is not working out. Any help would be appreciated.A rectangle is inscribed in a semicircle of radius 2 cm. Find the largest area of such a rectangle.