Solution
= Solution
For $x\geq m$, $X_n=x$ implies $M_n\geq m$. For $x<m$, reflect every step after the first visit to $m$. The <reflection principle for simple symmetric random walk> bijects such paths ending at $x$ with unrestricted paths ending at $2m-x$. Therefore
$$
\boxed{\mathbb P(M_n\geq m,X_n=x)=
\begin{cases}\mathbb P(X_n=x),&x\geq m,\\
\mathbb P(X_n=2m-x),&x<m.
\end{cases}}
$$