A beverage company plans to make a fruit juice blend using grape juice and cranberry juice that sells for $3.80 per gallon. If grape juice costs $2.99 per gallon and cranberry juice costs $4.99 per gallon, how much grape juice will be needed to make 50 gallons of the fruit juice blend?

50 gallons x (2.99/3.80) = 39.875 gallons of grape juice

WRONG AGAIN

amount of grape juice --- x
amount of cranberry juice --- y

x + y = 50 or y = 50-x

cost equation:
2.99x + 4.99y = 3.8(50)

solving these yields x = 29.75 , y = 20.75
which is not even close to the robot's wrong answer