Answer:
x=47
Step-by-step explanation:
All triangles angles add up to 180
to solve this simply subtract the 2 known to find the unknown.
180-102=78
78-31=47