Let the left most spring stiffness be the middle spring stiffness be and the rightmost spring stiffness be . Let the mass of the left cylinder be and the mass of the right cylinder be .
The generalized coordinates are and . Using Lagrangian method we find
Hence EQM are
we obtain the equations of motion
For the special case when , and we obtain