You always either go left or down so total 40 steps, choose 20 to be down (or 20 to be right)