A piece of cloth is folded into a square with a side length measuring x inches. When it is unfolded, it has an area of x2 + 27x + 162 square inches. Which could be the dimensions of the rectangular piece of cloth when it is unfolded? Remember, the area of a rectangle can be determined using the formula A = lw.

A).length = (x + 9) inches and width = (x + 3) inches
B).length = (x − 3) inches and width = (x − 9) inches
C).length = (x + 18) inches and width = (x + 9) inches
D).length = (x − 9) inches and width = (x − 18) inches