So I have 2 second order odes that I need to convert into 4 first order odes. The odes are: $$m_1x_1^{\prime\prime} = -k_1(x_1-l_1)+k_3(x_2-x_1-l_3)$$ $$m_2x_2^{\prime\prime} = -k_2(x_2-l_2)-k_3(x_2-x_1-l_3)$$
So I saw these posts so I understand I have to use a change a variable (I think that's what they are called) but I just don't understand the step-by-step portion. I kind of need to be walked through the process to really understand WHAT I'm doing.
I will slightly modify these to read
\begin{align*} x_1^{\prime\prime} &= -\frac{k_1}{m_1}(x_1-l_1)+\frac{k_3}{m_1}(x_2-x_1-l_3) \\ x_2^{\prime\prime} &= -\frac{k_2}{m_2}(x_2-l_2)-\frac{k_3}{m_2}(x_2-x_1-l_3). \end{align*} If we let $x_3=x_1'$, then $x_3'=x_1''$.
If we let $x_4=x_2'$, then $x_4'=x_2''$.
Read your system as
\begin{align*} x_1' &= x_3 \\ x_2' &= x_4 \\ x_3' &= -\frac{k_1}{m_1}(x_1-l_1)+\frac{k_3}{m_1}(x_2-x_1-l_3) \\ x_4' &= -\frac{k_2}{m_2}(x_2-l_2)-\frac{k_3}{m_2}(x_2-x_1-l_3). \end{align*}
There was not much to substitute here as you had no first derivatives in your two second order equations.