Let the width of the garden = x cm
then its length = x + 4 cm
Half the perimeter = 1/2 × 2(7+ b) = l + b
By problem, x + x + 4 = 36
2x + 4 = 36
2x = 36 – 4 = 32
∴ x = 16 and x + 4 = 16 + 4 = 20
i.e., length = 20 cm and breadth = 16 cm.
(or)
Let the breadth be x and length = y
then x + y = 36 ⇒ x + y = 36
y = x + 4 ⇒ x – y = -4

The two lines intersect at the point (16, 20)
i.e., length = 20 cm and the breadth = 16 cm.