Half the perimeter of a rectangular garden, whose length is 4 m more than its width is 36 m. Find the dimensions of the garden graphically.