YOU SAID:
the boy was on the train to meet me
INTO JAPANESE
その少年は私に会うために電車に乗っていた
BACK INTO ENGLISH
The boy was on the train to see me
INTO JAPANESE
その少年は私に会いに電車に乗っていた
BACK INTO ENGLISH
The boy was on the train to see me
You've done this before, haven't you.