I need help with angles in a triangle to find x
I need help with these. please :(

Answer:
[tex]a. \: \: x = {60}^{o} [/tex]
[tex]b. \: \: x = {24}^{o} [/tex]
Step-by-step explanation:
Sum of angles = 180°
[tex]a. \: \: {x}^{o} + {40}^{o} + {80}^{o} = {180}^{o} [/tex]
[tex] {x}^{o} + {120}^{o} = {180}^{o} [/tex]
[tex] {x}^{o} = {180}^{o} - {120}^{o} [/tex]
[tex] {x}^{o} = {60}^{o} [/tex]
[tex]b. \: 96+(x+12)+2x=180[/tex]
[tex]x+108+2x=180[/tex]
[tex]3x+108=180[/tex]
[tex]3x=180−108[/tex]
[tex]3x=72[/tex]
[tex]x = 24[/tex]