what is x? i need help or i fail

If I did my math right x=9. All 3 degrees need to equal 180 in total so 65+40=105
9*9=81
105+81=186
186-6=180. If I am wrong I am sorry btu I’m am 99% sure this is correct
Answer:
Step-by-step explanation:
well there are 180 degrees in a triangle so 180 - (65+40) = 75
75 - 6 = 69
69/9 = 7.67