As for the glow sticks, the idea is to start counting from the largest quantity and work your way down to the smallest, subtracting the values: there are 8 yellow, 5 blue, and 3 red ones—totaling…? Regarding the vault room, simply count the total number of TVs, shelves, and chairs on the map and perform the necessary calculation. Once you’ve gathered all the codes, you’ll be able to open the vault. And of course, you got the 6 and the 8 right :)
Regarding the calculation of the bars, I recommend doing it in descending order.