I did bad but what's the answer for this?

Answer:
28 degrees
Step-by-step explanation:
A triangle is always equal to 180 degrees so add the degrees together
40+2x+3x=180
40+5x=180
5x/5=140/5
x=28