Calculates the price for fuel based on the distance of the drive.