Not quite. The answer is B.
How to solve it
To choose between who and whom, look at the pronoun’s job in its own clause. Set aside Ana thought for a moment and ask, “Who had left a bag on the platform?” Since the pronoun is the subject of had left, use who.