Out of boredom, while searching, I found this web site showing how to build different patterns on a 3x3x3 rubik’s cube.
http://www.math.ucf.edu/~reid/Rubik/patterns.html