To solve our session let's first illustrate the situation as follows:
As we can see above, W is in the middle of angle XYZ. And we show all the angles in the picture. Once angle XYW + angle WYZ is equal to angle XYZ we can write the following expression and calculate:
So, finally, x = 8 and