Stimulus generalization this would be your answer I hope this helped.
Andre is using the working backward heuristic.
Working backwards, he is imagining how he would get to work from home whilst trying to determine the best way to get home from work given that his usual rout is blocked. By working backwards and imagining things from a different perspective, he may be able to find a suitable solution.
Fred went to Paris, Tom went to Europe and Mark went no where