The woman on the platform is correct because it is the pace of the man moving on the train not walking.
Do you have the answer choices ?
1 horsepower is equal to 746 W, so the power of the engine is

The power is also defined as the energy E per unit of time t:

Where the energy corresponds to the work done by the engine, which is

. Re-arranging the formula, we can calculate the time t needed to do this amount of work: