A wire 10 meters long is to be cut into two pieces. One piece will be shaped as an equilateral triangle, and the other piece will be shaped as a circle.

(a) Express the total area A enclosed by the pieces of wire as a function of the length x of a side of the equilateral triangle.

(b) Find the domain of A.