Roman has $40 to spend on snacks for his camping trip. He plans to buy protein bars that cost $3 each and individual bags of trail mix that cost $2 each.

If x represents the number of protein bars that Roman buys and y represents the number of individual bags of trail mix that Roman buys, then which equations represent this situation?

The cost of protein bars is $3 multiplied by the number of protein bars x, so the cost of protein bars is 3x.

The cost of individual bags of trail mix is $2 multiplied by the number of individual bags of trail mix y, so the cost of individual bags of trail mix is 2y.
The total cost of protein bars and individual bags of trail mix is $40, so 3x + 2y = 40.