Sometimes you just need to take a moment and really look for some hints that’ll help you. Rotate your page, maybe colour some lines.
Take a look at the picture, I coloured the lines and saw that the red and green angles are actually the same. And since the 90° angle is given, just subtract it from 140° to get your answer.
x = 50°