The German Wikipedia page on the Chinese Remainder Theorem states the following
Given are the two simultaneous congruences: $$ \begin{aligned} & x \equiv a \quad(\bmod n) \\ & x \equiv b \quad(\bmod m) \end{aligned} $$ If these are solvable, that is $a \equiv b \quad(\bmod d)$, then they are equivalent to $$ x \equiv a-y n \frac{a-b}{d} \pmod{\frac{n m}{d}} $$ with $$ d=\operatorname{gcd}(n, m)=y n+z m . $$ This also works with non-divisor numbers $n$ and $m$ and thus provides a significant simplification in solving simultaneous congruences.
I wanted to derive/proof this statement and you can directly see that $nm/d=\operatorname{lcm} nm$. I translated the congruences $$ x-a=tn $$ $$ x-b=km $$ $$ a-b=sd $$ And tried to work backwards $$ x-a+yn\frac{a-b}{d} = \frac{nm}{d}p $$ which is, after dividing by $n$ $$ t+y\frac{a-b}{d} = \frac{m}{d}p $$ and furthermore $$ (t+ys)d=mp $$ for $k,s,t,p\in\mathbb{Z}$. This is not helpful and leads to nothing. Maybe anyone has an idea or a hint. Thanks in advance.