Sarah and Emily went shopping for new clothes. Sarah spent 40% of her budget on a dress that originally cost $80, but she got a 25% discount. Emily, on the other hand, spent 50% of her budget on jeans that were originally priced at $60, receiving a 10% discount. How much more money did Sarah have left in her budget compared to Emily after both purchases?
Let B represent their total budgets.