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.

This problem is taken from the UKMT Mathematical Challenges.
You can find more short problems, arranged by curriculum topic, in our short problems collection.