Algebra help. (word problem)

I am really having difficulty with this question, I just dont seem to get it.

A piece of wire which is 18 meters long is cut into two parts. The first part is bent to form the four sides of a square. The second part is bent to form the fours sides of a rectangle. The breadth of the rectangle is one meter. And its length is x meters. If the sum of the areas of the square and rectangle is A square meters show that;

$\displaystyle A = 16-3x + \frac{x^2}{4} $

I don't really know how to get to this formula, it does not say that the the wire is cut into 2 equal parts, so i can't assume that can i ?

I understand were the number 16 comes from and that's about it.