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 ?
n0 = 2.0
n1 = 4.0
n2 = 4.0
n3 = 4.0
n4 = 2.0
n5 = 12.0
n6 = 9.0
n7 = 32.0
t0 = n5 / n0
t1 = t0 * n3
t2 = t1 - n1
t3 = n7 - t2
answer = t3 / n1
print(answer)