Mind Puzzle: In this mind puzzle, try to identify the Door through which the Man can escape safely in the…