On Brownian motions with alternating drifts