(x,y) = (1,4) ab = \{(4,4), (2,0), (8,1)\} cd = \{(10,1), (3,1)\} \textit{ef} = \{(1,3), (9,5)\}
The question states that the journey must proceed as either:
i) (x,y)\rightarrow a point in ab\rightarrow a point in cd\rightarrow a point in \textit{ef}or
ii) (x,y)\rightarrow a point in cd\rightarrow a point in ab\rightarrow a point in \textit{ef}.
The route you have chosen does not match either of i) or ii) (your final point, (2,0) is not a point in \textit{ef}), so is not allowed.