First, let's convert the measurement from feet to yards. We know that 1 yard equals 3 feet. So, to find the length in yards, we need to divide the given length in feet by 3.
This gives us 18 feet ÷ 3 = 6 yards. So, one side of the room measures 6 yards.
Next, to find the area of the room in square yards, we need to remember that the formula for the area of a square is side length squared (side^2) because all sides of a square are equal.
So, we calculate 6 yards (the converted side length) multiplied by itself:
6 yards × 6 yards = 36 square yards.
Therefore, 36 square yards of carpet are necessary to fully carpet the room.
Answer: 36 square yards