[tex]3x-17+x+40+2x-5=180\\3x+x+2x-17+40-5=180\\6x+18=180\\6x=180-18\\6x=162\\x=27[/tex]Answer:
Step-by-step explanation:
Since the sum of all interior angles of a triangle sums up to 180.