Answer:
It will cost $288 to carpet the living room at $36 per square yard.
Explanation:
First, we need to convert the room dimensions to square yards, since the carpet price is given in square yards.
The area of the living room is:

To convert this to square yards, we divide by 9 (since there are 9 square feet in a square yard):

So the living room is 8 square yards in area.
To find the cost of carpeting the room, we multiply the area by the cost per square yard:

Therefore, it will cost $288 to carpet the living room at $36 per square yard.