Sum of interior angle of polygon: S = (n-2) * 180°,
where n is number of sides and where S is total degrees.
With 6 sides, n = (6-2)*180 = 720°
Then set all of the interior equations equal to the sum, or
720 = 5x + 4x+2 + 5x+6 + 2x-2 + 3x+5 + x-10
720 = 20x + 1
719 = 20x
x = [tex]\frac{719}{20}[/tex] = 35.95