How would I go about solving a 1D two body problem as follows:
Consider two blocks A (mass $m_1$) and B (mass $m_2$) placed on a horizontal smooth surface with a spring of constant $k$ between them. A constant force of $F_1$ and $F_2$ is acting on A and B respectively in the opposite directions.
How would I go about converting it into a equivalent 1 body problem using the reduced mass idea?