Problem solving with derivatives.

Question: A piece of wire length of 30cm is cut into 2 sections. Each section is then bent into the shape of a square. Find the smallest possible value of the sum of the areas of the two squares.