you need to research how to use trigonometric ratios in a right triangle ...
Trigonometry of right triangles. Complementary angles. Cofunctions.
By measuring by hand, side x is about 2.2 to 2.25 times the length of the vertical leg which has a length of 35.
That puts the length of side x somewhere between 77 and 80, inclusive. And the 47 degree angle should be closer
to 66 degrees. What I thought was 2 degrees is z degrees.