You can search that up online it’s not that hard but good luck !!
The pairs are:
K, Kr - Same period
Be, Mg - Same group
Ni, Tc - Both are transition metals
B, Ge - Both are metaloids
Al, Pb - Both form inert oxides
There are two hydrogen and two oxygen molecules because the number next to the atomic number is how many there are.