Hello,

1. With only the diagonal given you'll get an unlimited amount of rectangles. The vertices must be placed on the circle with the diagonal as diameter.

2. I've attached a sketch of the situation. The rectangle with it's sides parallel to the axes is drawn with thick perimeter. You can pick all the values you need from this sketch.