Need help read title.
15 * 12 * $ 8/ sq ft = $1440
Carpet is usually sold by the yd2 your question does not include units for the $ 8 per.......
IF it is square yards then 15/3 x12/3 = 5 x 4 = 20 sq yds 20 yd2 * $ 8/ yd2 = $ 160