Kehlani went into a movie theater and bought 6 bags of popcorn and 8 drinks, costing a total of $76. Madelyn went into the same movie theater and bought 7 bags of popcorn and 4 drinks, costing a total of $62. Determine the price of each bag of popcorn and the price of each drink.