Pregunta de entrevista de JUSPAY

Question on rotating a cube in purescript