We must solve this sistem of equations, if we multiply the first equation by 3, we get
Now, we will do the first equation minus the second (side by side), so we have
Replacing y =6 in the first equation we have
Thus each ft^2 of grass costs $18, and eachshrub costs $6.