Solve the EOLine on a Rubik's cube