Two families attended a baseball game. The first family bought 3 bags of popcorn and 4 souvenir cups, which totaled $40. The second family bought 8 bags of popcorn and 4 souvenir cups, which totaled $60. How much did one bag of popcorn cost?
$4
$5
$6
$7