You need to combine the numbers you get from the cactus, billiard ball and dart board in the order you get from the symbols under the painting in the same room (the moon and sun correspond to whether the lights of the room should be on or off when you look at the objects).