It costs 6 tokens to ride a ride at the carnival. If you spent 18 tokens on the ride, which equation could you use to solve for the number of rides, r?