$$ m_1\ddot{x}_1=k_1x_1+k_2(x_1-x_2)$$