Since there are 4 angles given, the polygon is a quadrilateral.
Sum of angle in a quadrilateral = 360°
∴ 2x + 5x + x + 4x = 360°
12x = 360°
x = 30°