A DVD store has 2 membership plans. Under Plan A, a yearly membership costs $30 plus $2 for each rental of a DVD. Under Plan B, the yearly membership costs $12 plus $3 for each rental. What number of rentals, r, does each plan have to rent to cost the same?