If a quarter of a gallon of paint costs 13.99 $:
This means that a full gallon costs in dollars [tex]4*13.99 = 55.96[/tex]
[tex]5 +\frac{1}{4}[/tex] gallons of paint is needed.
Then the total cost in $ is:
[tex]5*55.96+ 13.99 = 293.79[/tex]
If a full paint gallon costs $ 13.99:
This means that a quart of paint costs in dollars [tex]\frac{1}{4}*13.99 =3,498[/tex]
[tex]5 +\frac{1}{4}[/tex] gallons of paint is needed.
Then the total cost in $ is:
[tex]5*13.99+3,498 =73.45[/tex]