Two blocks are connected by a light string that passes over a massless, frictionless pulley as shown. The coefficient of friction between the 4kg block and the surface is 0.4. Find the acceleration of the system and the tension in the string.