The most reliable way through level 18 is to watch it being solved rather than to guess. Video walkthroughs of B-Cubed show the full route with the cube's movement visible, which makes the sequence far easier to copy than a written list.
Search for the level number alongside the game name, pause at each turn, and replay the segment. Once you have the pattern, the level takes well under a minute.