A piece of wire 20 m long is cut into two pieces, the length of the first piece being x m. The first piece is bent into a circle, and the other is bent into a rectangle with length twice the width. Give an expression for the total area A enclosed in the two shapes in terms of x.

MY WORK:

I divided 20m into x and (20 - x).

I then let TA = total area in terms of x.

I came up with the function

TA = pi(x)^2 + (40x - 2x^2)

Is this right?