You can
put this solution on YOUR website!You are mixing gasoline and alcohol
(cost of a gallon of gasahol) =
(price per 1 gallon of gasoline)x(fraction of a gallon used)
+(price per 1 gallon of alcohol)x(fraction of a gallon used)
------------------------------------------------------------
If

% of gasoline is used, the fraction of 1 gallon
would be

The fraction of alcohol used would then be

The formula for the cost per gallon of gasahol is:

answer
suppose I had:
g = $3 /gal
a = $4 /gal
p = 90

dollars /gal gasahol