Q41 You should equate kinetic energy to potential energy so as the ball obtain enough kinetic energy to climb the largest circle (D=6R):

Q42 If mass is distributed equally along the length, then after swap potential energy of rope with mass m is decreased by mgl and of rope with mass 3m is increased by 3mgl.