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