Betty had $40 in her pocket. She bought 12 identical bags of popcorn. Betty was left with $10 after buying the popcorn. What was the price, in dollars, of each bag of popcorn? (1 point)