So the garden has a rectangular shape, of 23 m of length, x meters of width and 851 m^2 area, the area is calculated with this formula:
area = length*width
lets solve for width:
width = area/length
if we substitute our data we have:
width = 851/23
width = 37
therefore the width of the garden is 37 m