Explain how to solve this math problem: Mirasol had $50 in her account. She spent $10 on coffee beans and $30 on a tumbler. How much is left in her account?