Maria wants to make fruit punch for a birthday party. She needs to mix three parts ginger ale, two parts cranberry juice, and one part orange juice. Ginger ale costs $2.00 per gallon, cranberry juice costs $4.00 per gallon, and orange juice costs $5.00 per gallon. Maria only has $38 to spend on the ingredients for the punch. How many gallons can she make?

*This question is from a midterm packet that I am having trouble solving. I was wondering if you could help me set up an equation for this. All I know so far is that the equation has to include 38 and g, which represents the amount of gallons that Maria can make.

number of gallons for each

ginger --- 3x
cranberry -- 2x
orange -- x

cost:
2(3x) + 4(2x) + 5x ≤ 38
19x ≤ 38
x ≤ 2

take it from there, remember I said ≤ .