Rubiks Cube Formula