human
Jason spent 1/4 of his money and an additional $10 on some books. He then spent 2/5 of the remaining money and an additional $8 on some DVDs. If he was left with $130, how much money did he have at first?
assistant
Define a variable ** Let X be the money Jason had at first.
How much money did Jason spend on books? ** Jason spent 1/4*X + 10 on books.
How much money did Jason spend on DVDs? ** Jason spent 2/5*[X - (1/4*X + 10)] + 8 on some DVDs.
Write an equation ** Jason has X - (1/4*X + 10) - {2/5*[X - (1/4*X + 10)] + 8} = $130 left.
Simplify ** X - 1/4*X - 10 - 2/5*X + 1/10*X + 4 - 8 = $130.
Simplify ** 9/20*X - 14 = $130.
Simplify ** X = $<<320=320>>320.
#### 320