You need to enclose a rectangular plot of land where three sides are fence and one side is stone wall. the cost of the fence is
$4 per foot, the cost of the stone wall is $16 per foot. the area of the land enclosed must be 40 ft^2 what are the dimensions (x and y so that the cost of enclosing the land is minimized?
You didn't include the options, so whichever one looks like x=(12.53+11.86)3.19 or something similar. You need to add the amount of gallons he bought, then multiply them by the cost per gallon, which will most likely be set equal to a variable.