5 cubes can be drawn in a Dodecahedron by joining its vertices. I like this version with the bright colours. https://scratch.mit.edu/projects/221076955/ draws the cubes with solid (transparent) faces and also shows the dodecahedron.
3D Tutorial Studio: https://scratch.mit.edu/studios/5040029/ Wikipedia links: https://en.wikipedia.org/wiki/Compound_of_five_cubes https://en.wikipedia.org/wiki/Regular_dodecahedron Theory to rotate a 3D object from Wikipedia https://en.wikipedia.org/wiki/Rotation_matrix