I am stuck at those two cabinets as well...
Am i missing a clue or does this dev expect people to cycle trough 9999 possible combinations, two times?
I found out how to open the right cabinet, look at the drawing and you will figure it out.