One dimensional linear atomic chain with two different atoms of masses m and M. Atoms are connected by springs of spring constants K. The lattice constant is a. Can anyone explain the last step?