Wouid someone explain this Explain, how did we know x + 20 = 3x - 40? Thank you

Answer:
see below
Step-by-step explanation:
CM is the bisector of ∠AMB
bisector means divide into two equal parts.
so x + 20 = 3x - 40
solve for x:
now substitute x=30 back into the equation