The given equation represents the reaction of copper sulphate with an element X.
CuSO4+X→Cu+Y.
Iron (Fe) is represented by X, among Fe and Ag as Fe is more reactive than Ag.
CuSO4+FeX →Cu+FeSO4Y .
The molecular formula of the compound represented by Y is FeSO4.