URGENT PLEASE HELP GUYS IDK HOW TO DO MATH

There are 14 gallons of gasoline available to be distributed between a car and a motorcycle. The cars tank can hold at most 12 gallons. The motorcycle can hold at most 4 gallons. The car can go 25 mpgal and the motorcycle can go 60 mpgal. How much gasoline should each motorized vehicle get to Maximize the most miles?
Identify variables, objective functions and constraints

Respuesta :

10 gallons towards the car and 4 gallons towards the motorcycle.