Been stuck on this for a while:

The figure shown here shows a rectangle inscibed in two isoceles right triangle whose hypotenuse is two units long

a.) express the y-coordinate of "P" in terms of x (you might start by writing an equation of line "AB"

b.) express the area of the rectangle in terms of x

Heres the diagram

59795_473501434601_592919601_6725805_3723994_n | Flickr - Photo Sharing!