The rectangle has twice the length of the square side.
The square has a side of 2 yards.
Then, we have to calculate the area of the square and the rectangle and add them.
The area of the square is equal to the square of its side (2 yards):
The rectangle area is equal to the product of the length (equal to the side length, 2 yd) and the width (2 times the side of the square, 4 yd):
If we add them, we get the total surface of the carpet:
Answer: the carpet is 12 square yards [Option A].