First, you'll want to take the number you wrote down in step 2 (the total distance of your trip) and divide it by the number you got from step 1 (your gas mileage). Next, multiply that figure by the number you wrote down in step 3 (the current price of gas), and then you're all done!