Joan and Shannon go to the movies and buy refreshments for their friends. Joan spends $26 on 3 drinks and 4 bags of popcorn. Shannon spends $37 on 6 drinks and 5 bags of popcorn. How much was each bag of popcorn?

A. $2
B. $3
C. $4
D. $5
E. $6