Given,
dimensions of rectangular field =50m×40m
cost of flowering bed = 30Rs/m2
cost of grovelling path = 20Rs/m2
Ref. image
Let width of gravel =x m
area of field = 50×40=2000m2
area of flower bed = (50−2x)(40−2x)
Total cost
= cost of flower bed+ grovelling path
∴52000=[(50−2x)(40−2x)×30] +[(2×50×x)+2(40−2x)x]×20
=52000=[(2000−100x−80x+4x2)×30] +[100x+80x−4x2]×20
=52000=60000−5400x+120x2+3600x−8x2
=40x2−1800x+8000=0
=x2−45x+200=0
∴x=5,40
40 can't be the value of x as
it is the total field width
∴x=5m
Thus, gravel path width is 5m