A 35-kg block rest on a horizontal tabletop. A cord is attached to this block, the cord passing over a pulley at the edge of the table. At the end of the cord is hung another block weighing 5 N. Determine the tension in the cord and the distance the blocks moved after 2 seconds.