having received his weekly allowance , john spent 3 / 5 of his allowance at the arcade . the next day he spent one third of his remaining allowance at the toy store , and then spent his last $ 0.40 at the candy store . what is john ’ s weekly allowance ?
"x = 3 x / 5 + 1 / 3 * 2 x / 5 + 40 4 x / 15 = 40 x = 150 = $ 1.50 the answer is a ."
divide(0.40, subtract(const_1, add(divide(3, 5), multiply(divide(const_1, 3), subtract(const_1, divide(3, 5))))))