Let x = the width of the garden. The length is 3 m more, so it's x+3. The area is length times width and is 160 m2:
Area = (length)(width)
160 = (x+3)X
160 = x2 + 3x
0 = x2 + 3x - 160
Use the quadratic formula to find the answer. Use the positive value of x. It's not a pretty answer, so round to two decimal places. Length is x+3.