Walter buys a bus pass for $30. Everytime he rides the bus, money is deducted from the value of the pass. He rode 12 times and $24 was deducted from the value of the pass. How much does each bus ride cost?