in two body problem we have $m_1$ and $m_2$ with positions $r_1$ and $r_2$
the position of the center of mass is $$ R = \frac{m_1r_1 + m_2r_2}{M} $$
where $$ {M} = {m_1 + m_2} $$
and the relative coordinates is $$ r = r_1 - r_2 $$
the reduced mass is $$ μ = \frac{m_1m_2}{m_1+m_2} $$
I found a relation in QM book by zettili
which is $$ \frac{1}{m_1}∇_{r_1}^2 + \frac{1}{m_2}∇_{r_2}^2 = \frac{1}{M}∇_R^2 + \frac{1}{μ} ∇_r^2$$
and I have no idea how did he get it. can someone explain to me the steps to get it