Implement tranferTime based on walking time and the wait time.