Find the value of x and thank

Answer:
65
Step-by-step explanation:
180-100 (40+60) =80
80+35= 115
180-115=65