Task: Question Answering
Input (English): Problem: the area of one square is x ^ 2 + 4 x + 4 and the area of another square is 4 x ^ 2 − 12 x + 9 . if the sum of the perimeters of both squares is 32 , what is the value of x ?
Output (English):