This is a 2x2 Rubix Cube. Hold white toward you on your 2x2. Press space and turn your cube by way of the arrows.
Thanks to https://ruwix.com/twisty-puzzles/2x2x2-rubiks-cube-pocket/ for the pattern. Check out my other game: https://scratch.mit.edu/projects/210586808/