As in the question: I know that there exits $\alpha,\beta$ which solve division with remainder in the ordinals. Anyhow, I do not know how to actually find a solution. The thing I tried is to go by attempts, but without much luck: for instance it seems to me that the "naive" solution one would give without knowing that multiplication is not distributive to the left, $\alpha=\omega,\beta=\omega+5$ is wrong.
Any help would be appreciated
Start by observing the largest term in $\alpha$'s Cantor normal form: $\omega\cdot i$. We have
$$(\omega\cdot2+3)\cdot\omega\cdot i=\omega^2\cdot i$$
and hence $i=2$. What remains is $\omega\cdot4+5$ on the LHS, so we can then see the next term in $\alpha$'s Cantor normal form to be $j$.
$$(\omega\cdot2+3)\cdot j=\omega\cdot(2j)+3$$
We can see that we must have $j=2$. What remains is $2$ on the LHS, and so we have
$$\omega^2\cdot2+\omega\cdot4+5=(\omega\cdot2+3)\cdot(\omega\cdot2+2)+2$$
Overall not too unlike normal division. Just take care of how things multiply and distribute when "subtracting" from the LHS.