Given :
The garden is 12m by 10m. 15% of the total area is gardern patch and 3/8 is a flowerbed.
Solution :
Area of lawn = Area of garden - area of garden patch - area of flowerbed.

Total cost of spray is given by :

Hence, this is the required solution.