You put the dice into the large rectangular field to the left and if the dice's numbers fit the criteria of the boxes to the right, you place the die into that box.
I think I found a glitch? I was pressing around the cell and pressed the painting. It showed the dialogue about the painting but after the "(...)" the text started again but it was on top of my screen, upside down, and inverted. It keeps repeating itself. I'm playing on browser.