Solve the equation by completing the square.x2 + 12x + 32 =…