10 electrons will occupy the five orbitals in the atoms d sub shell like this. Each electron fills one by one in each orbital. So first 1 electron will fill the first orbital, then the second will move on to the next and so on. So for example…if there were 7 electrons, the first two sub shells would be filled, and the other three would have one electron each