We have to move from point $(a,b)$ to a point $(i,j) $
Hence there are $(i-a)$ right moves and $(j-b)$ up moves.
All the moves can be arranged in any order and they will lead to point $(i,j)$
$(up,right,......,up,right)$
Total number of moves = $(i-a)+(j-b)$
Total number of right moves =$(i-a)$
Total number of up moves = $(j-b)$
Total number of arrangements (permutations with repetition) = $\Large \frac{\left ( (i - a) + (j - b) \right )!}{\underbrace{(i - a)!}_{\text{right moves}}\thinspace{\underbrace{(j - b!)}_{\text{up moves}}} }$