The sum of the angles in a quadrilateral is 360 degrees. Let x represent the fouth angle. If the sum of the three angles of the quadrilateral is 310, it means that
310 + x = 360
subtracting 310 from both sides,
310 - 310 + x = 360 - 310
x = 50
the measure of the fourth angle is 50 degrees