A group of 7 students went bowling. Each student rented bowling shoes for $x and spent $15 on snacks. A group of 6 adults also went bowling and paid twice as much to rent bowling shoes as each student. Each adult also spent $12.50 on snacks. If both groups spent the same total amount, what was the cost for each adult to rent bowling shoes?