We know that,
For carbon
Z=6
Z=2,4
Now, for silicon
Z=14
Z=2,8,4
Now, for germanium
Z=32
Z=2,8,18,4
Hence, this is the required solution