Step-by-step explanation:
I don't know what your teacher wants to hear here.
can you use and construct certain angles (particularly 90 degrees), can you use compasses ?
for me the best way would be to draw one side as given. then use compasses and draw a half-circle from each end point of the line above the line. both circles have the radius = the given diameter.
then draw the next 2 sides of the square up from the end points of the first line towards the half-circle that was drawn from the other point, so that the end point is exactly on the circle bow. and then connect the engaging endpoints of these 2 sides.
similar for the rectangle.
the only difference is that now for the two sides (which we don't know the length) we need to go up exactly 90 degrees until the lines hit the half-circles.