A trolley of mass 4kg moving on a smooth horizontal platform with a speed of…