Substituting for the acceleration and in the above equations 1.15, 1.18, and 1.19 we have
Eliminating the tensions from the first equation using the other two equations
and solving for
or