Question 1016628
T=4M
T+M=40

Substitute 4M for T in second equation.

4M+M=40

M=8
T=32