Lena is tiling a square floor with each side 3 metres long. Tiles cost $45 persquare metre.Which calculation gives the total cost of tiling the floor (in dollars)?
A 45 × 6
B 45 × 9
C 45 ÷ 6
D 45 ÷ 9