To find the transfer fnctino, we need to wrtie all the components of forces on both the blocks and then take the laplace transform.1. On body 1On taking the laplace transform,laplace transform of the acceleration is s^2X1(s) the assumpotion is the initial conditions were zero.