7. A uniform flexible chain of length l, with weight per unit length lamba, passes over a small, frictionless, massless pulley. It is released from a rest position with a length of chain x hanging from one side and a length l-x from the other side. Find the acceleration a as a function of x.