Answer:
Hello your question is incomplete attached below is the complete question
Answer : x ( acceleration of mass 4m ) = 
The top pulley rotates because it has to keep the center of mass of the system at equilibrium
Explanation:
Given data:
mass suspended = 4 meters
mass suspended at other end = 3 meters
first we have to express the kinetic and potential energy equations
The general kinetic energy of the system can be written as
T = 
T =
also the general potential energy can be expressed as
U = 
The Lagrangian of the problem can now be setup as

next we will take the Euler-Lagrange equation for the generalized equations :
Euler-Lagrange equation = 
solving the equations simultaneously
x ( acceleration of mass 4m ) = 
The top pulley rotates because it has to keep the center of mass of the system at equilibrium