If the triangles are similar, what is the value of x?

Answer:
[tex]x=42[/tex]
Step-by-step explanation:
[tex]suppose, a=?[/tex]
[tex]a+126+16=180[/tex]
[tex]a+142=180[/tex]
[tex]a=180-142[/tex]
[tex]a=38[/tex]
[tex]NOW,[/tex]
[tex]a+16+3x=180[/tex]
[tex]38+163x=180[/tex]
[tex]54+3x=180[/tex]
[tex]3x=180-54[/tex]
[tex]3x=126[/tex]
[tex]x=126/3[/tex]
[tex]x=42[/tex]
----------------------------
hope it helps..
have a great day