what is the value of x?

the answer is 35 I did a lot of work I can't show you here