Explanation:
For any triangle, to find the missing side which in this case is x;
add all sides including the x and equate it to 180 ( sum of angles in a triangle is equal to 180, note that)
sooo...
10 + 30 + x = 180
doing the math
40 + x = 180
x = 180 - 40
x = 150°✓
Hope this helps and also you have learnt to solve it.
Good luck.