Start by finding how many squares in both rooms are. 24 • 15 = 360 and 13 • 4 = 52 (since it is a square room multiply by 4) Now add. 360 + 42 = 412. Now multiply : 6.98 • 412 = 2875.76. The total cost of carpet for both rooms is $2875.76. Hope I helped!