Maximizing the area of a rectangle inscribed in a semicircle

A rectangle is inscribed in a semicircle with radius 2. What value of [math]x[/math] maximizes the area of the rectangle?
[i]Developed for use with Thomas' Calculus, published by Pearson.[/i]

Information: Maximizing the area of a rectangle inscribed in a semicircle