Find two paths through the maze: One on white lines from A to B and one on gray lines from X to Y. Note, that not crossing (=circle) may be used more than once - not even from different paths.