First, let's look at the formulas for the area of square and area of the rectangle.


And what this exercise states is that the areas are the same. So:

Now put in the data.

Solve for
:

The side of the square garden plot is 4 meters.
Hope this helps.
r3t40