Connected bodies via spring

Blocks are connected by a spring (not a rigid string), and the question asks for the force transmitted through the spring or the acceleration of one block when a force is applied to the system.