For the given rectangular rooms, we will find the area then multiply the area by the cost to find the total cost.
1) Dimensions: 7.5m x 3.5m; Cost = $12.96/m^2
So, area of the room =

The cost will be =

so, the total cost = $340.2
2) Dimensions: 17 yd x 10yd;. Cost = $27/yd^2
So, the area of the room =

The cost will be =

So, the total cost = $4,590