The writing is correct, but the story is confusing.
A: How did you get back from Tokyo?
(この質問はあなたの帰国についてのみ尋ねます。)
B: First, I took the bullet train to get there, and then I came back here by local train.
(この回答は、旅の両方向について説明しています。 最初の質問からすると、それは少し混乱します。)
Good luck!