You can answer this problem in two different ways: the first being (17 - 5) * x, and the second being 12 * x.
Perhaps that Margos spends X dollars on her paycheck , then I found my equation . 0.25 X + 0.125X + 24 = 60 ( 1/8 is equal to 0.125 ). After u solved this equation u will get $96 for the total amount of her paycheck.