From the picture you can see how 5x and 4x add up to 90°.
4x + 5x = 90° 9x = 90° x = 10°
Hope this helps! If my answer was not clear enough or you’d like further explanation please let me know. Also, English is not my first language, so I’m sorry for any mistake.