calculated driving cost

formula for trip cost