Consider the following figure:
Here, p, q, r and s respectively are:
The given table consists of group no. 8, 9 and 10 respectively. So the element p=Iron, q=Cobalt, r=Nickel and s=palladium.