Let $x,y$ be coprime integers. I want to prove that if $z \in \mathbb Z$ is a multiple of $x$ and $y$ then $z$ is a multiple of $xy$.
I know that $\exists r,s,m_1, m_2 \in \mathbb Z$ s.t. $$z=m_1x=m_2y$$ $$xr+ys = 1$$. But this is as far as I've gotten. I'm not sure how to proceed from here.
Multiply the second equality you wrote by $z$ to get $xrz+ysz=z$. We also know that $z=m_1x=m_2y$. So that way we get $xr(m_2y)+ys(m_1x)=z$. Hence $z=xy(rm_2+sm_1)$.