At one store Julia save $10 with the coupon for 20% off her total purchase at another store the $24 she spent on books is 40% of her total bill how much did Julia spend it all at the two stores