Judging from the three angles that this is a triangle, form an equation:
35+52+3(x+2)=180
First expand the brackets
35+52+3x+6=180
Then add 35, 52 and 6 together and subtract the answer from each side :
3x=87
Then divide each side by 3 to find x:
x=29