Well its becuse of the acceleration of the ball down in the second dip that gives it more velocity. saying there is no friction involved ball 2 gains more velocity after the second dip.