An element X forms a compound XH 3 with hydrogen. Another element Y forms a compound YX 2 with X. Given that the valency of hydrogen is 1, What are the valencies of X &Y?