Answer
7.5 dollars
Work Step by Step
We use unit analysis to obtain:
$$ \frac{1.25 \ dollars}{gal} \times 6\ gallons = 7.5 \ dollars$$
The units cancel to give units of dollars, so using unit analysis, we see that our solution process was correct.