A block of mass 10 kg is placed on a horizontal surface is connected by a cord passing over a frictionless pulley to a hanging block of mass 10 kg. If the coefficient of friction between the block and the surface is 0.5 and g = 10 m/s^2, then find the accleration of the system.