Answer:
Element X has valency 2 while Y Valency 2, element Y has high tendency of gaining electrons for its stability thus the compound formed will be B
elements X is positively charged while Y will be negatively charged
Hot liquid rock comes in contact with Earth´s cold crust