If we know that the King stands in the square on the left side at the bottom and has each time 3 possible moves:
he goes 1 square to right
he goes 1 square up
he moves diagonally to the right
so if he start from the square f(1,1) then to know how many possibilities there are to get to square f(m,n) then we can use this equation : $$ f(m,n)=f(m-1,n-1)+f(m-1,n)+f(m,n-1) $$ The question is how to prove that this equation down is a solution of equation for $f(n,n)$ : $$ f(n, n) =\sum_{i=0}^{n-1} {n-1\choose i} {n-1+i \choose i} $$
We start for convenience only with $f(0,0)=1$ instead of $f(1,1)=1$ and with boundary conditions $f(m,0)=f(0,n)=1$ with integral $m,n\geq 0$. Since each step of length $1$ can be encoded with $$x+xy+y$$ we obtain the generating function \begin{align*} F(x,y)&=\sum_{m=0}^\infty\sum_{n=0}^\infty f(m,n)x^my^n\tag{0}\\ &=\sum_{j=0}^\infty(x+xy+y)^j\\ &=\frac{1}{1-(x+xy+y)} \end{align*}
Comment:
In (1) we apply the binomial theroem to $(x(1+y)+y)^j$.
In (2) we select the coefficient of $x^n$.
In (3) we apply the rule $[z^{p-q}]A(z)=[z^p]z^qA(z)$.
In (4) we shift the index to start with $j=0$.
In (5) we select the coefficient of $y^{n-j}$.
In (6) we use the binomial identity $\binom{p}{q}=\binom{p}{p-q}$.
Add-on: We can derive the generating function $F(x,y)$ from the recurrence relation in a somewhat more detailed manner as follows.