Ahh, 6,4,0 is the amount of the respective shape from the 3 clue papers referring to the pictures on the wall. I am sorry that it's unintuitive...
I got the three torn pieces of paper and checked the 3 portraits but still don't understand how they relate to 640?