A train with an initial velocity of 20ms-1 is subjected to a uniform deceleration of…