I have never been good with modeling equations and this one is bugging me. I've been trying to practice in my book but just can't seem to figure this one out. Would be much appreciated if someone could help.

A wireL= 14 cm long is cut into two pieces, one of lengthxand the other of length (L-x). Each piece is bent into the shape of a square.

Find a function that models the total areaAenclosed by the two squares in terms ofx