A body starts from rest and accelerates uniformly at 5ms^-2ย until it attains a velocity of…