Final answer:
To find the cost to carpet the room, multiply the area (378 sq ft) by the cost per square foot ($1.50), resulting in a total cost of $567.
Step-by-step explanation:
To calculate the cost to carpet the rectangular room, we first need to determine the area of the room. The area of a rectangle is found by multiplying its length by its width. In this case, the length of the room is 18 feet and the width is 21 feet.
Area = length × width = 18 ft × 21 ft = 378 square feet.
Since the carpet costs $1.50 per square foot, we then multiply the area of the room by the cost per square foot to find the total cost.
Total Cost = Area × Cost per square foot = 378 sq ft × $1.50/sq ft = $567.
Therefore, the total cost to carpet the room would be $567.