Jamie has saved $42 of her allowance money to buy books. If she buys 5 books at d dollars per book, she will have 42-5d of her allowance left. How much does she have left if the books cost $3.50 each?