Start finding the area of the room

then, using the cost per sq. ft, multiply them both and find the cost for carpeting the total area of the room in both situations.
for the first situation:

for the second situation:
convert the cost that is given in sq. yds to sq. ft using the conversion factors

then, multiply by the area

The cost for the cheaper carpet is $896.25