A square is folded in half to form a rectangle. If the resulting rectangle has a perimeter of x inches, what is the area of the original square?

(Source: Adapted from Mathematics Teaching in the Middle School, Feb 1998)