Calculates the miles per gallon (MPG) from the odometer reading and the amount of fuel consumed since the last reading.