A wire 10 cm long is cut into two pieces, one of lengthxand the other of length 10 -x. Each piece is bent into the shape of a square.

a. Find a function that models the total area enclosed by the two squares.

b. Find the value ofxthat minimizes the total area of the two squares.

I don't know where to start! Please help!