Three right angles

Work your way through these right-angled triangles to find $x$.

Problem



Below are three right triangles all sharing vertex A. Find the length $x$.

 

Image
Three right angles



This problem is adapted from the World Mathematics Championships