a) On moving from left to right in the second period, the number of valence electrons increases from 1 (Li) to 8 (Ne), whereas the valency increases from 1 (Li) to 4 (C) and then decreases from 4 to 0 (Ne).
b) Similarly, in third period the number of valence electrons increases from 1 (Na) to 8 (Ar) i.e., from left to right, whereas the valency increases from 1 (Na) to 4 (Si) and then decreases from 4 to 0 (Ar).