A particle starts from rest and moves in a straight line such that its acceleration…