X is above Y in the reactivity series. A more reactive metal can displace a less reactive metal from its salt solution. More reactive metals are placed at the top of the reactivity series and can displace other metals below them in the reactivity series.