Answer:
First Method
First, he had M some unknown amount
Then, he had 2/3 M since he spent 1/3 M
Then, he spent 3/4 of the (2/3 M) so he had 1/4 of the ( 2/3M)
Then, he spent what was left $20 so $20 = 1/4 ( 2/3 M) now solve for M
You can check by doing each step and figuring how much was spent and how much was left.
Second Method
let us consider the left amount be Y and total now of M dollar be X
Y = amount of money Nartin has left
Y = X - ( 1/3 ) ( X ) - ( 3/4 ) ( X - 1/3 X ) - 20
Y = X - 1/3 X - 3/4 X + 3/12 X - 20
Y = X - 4/12 X - 9/12 X + 3/12 X - 20
Y = X - 10/12 X - 20
Y = X - 5/6 X - 20
Y = ( 1 / 6 ) ( X ) - 20
Hope this helps.