The expected solution is true only if we assume that wife will start going to the station before Joe arrives there. Please state that in the problem description.
it’s given that when joe arrives at station at 6pm his wife is there to pick him up. so it’s obvious she leaves for the station before he arrives.
But this time he arrived an hour early. The intended solution is not correct if the wife starts going to the train station after 5pm.