The given situation is,
X + salt of Y (or Z) →Salt of X + Y (or Z)
It is indicating that the metal X is more reactive than other two metals Y & Z.
Now in the given question, option (1), (2) & (4) are possible situations.
But option (3) is not possible as X is more reactive metal and Z is less reactive metal so Z cannot replace X from its salt.