To determine if a frame is an inertial frame we just need to remember that they can only be at rest or moving with constant speed. Therefore, the inertial frames in this case are:
A train traveling with a constant velocity of 54 m/s
A train at rest
4.5m questions
5.8m answers