Formula for the sum of Interior angles: (n-2)×180°; where n is the number of sides of the polygon.
The sum of interior angles is 360°
Hence, x = 77°