Maria solved the equation.

4 (3 x minus 8) minus 4 = 24. 12 x minus 32 minus 4 = 24. 12 x minus 36 = 24. 12 x = 60. x = 5.

What methods did she use and in what order did she use them?