Here is the set up:
We know the given dimensions are increased by the same number.
Let x be that number.
The garden is a rectangle.
Area = length times width.
5m = 5 meters
12m = 12 meters
Area is 120 meters^2.
Here is your equation:
120 = (5 + x)(12 + x)
Take it from here.