What is the value of $x$ in this diagram?

If you liked this problem, here is an NRICH task that challenges you to use similar mathematical ideas.

See all short problems arranged by curriculum topic in the short problems collection
This problem is taken from the UKMT Mathematical Challenges.