The Exterior Angle Theorem of a Triangle states that the measure of an exterior angle of a triangle is equal to the sum of the measures of the two non-adjacent interior angles of the triangle.
In the given problem, 64° and 27° are the non-adjacent interior angles and 97+x is the exterior angle.