The balanced equationa are as follows:
Cu⟶Cu2++2e− ...(i)
H⊕+e−+HNO3⟶NO2+H2O ...(ii)
3H⊕+3e−+HNO3⟶NO+2H2O ...(iii)
Multiplying (i) by 2 and adding (i), (ii) and (iii), we get
2Cu+4H⊕+2HNO3⟶2Cu2++NO2+NO+3H2O
or,
2Cu+6HNO3⟶2Cu(NO3)2+NO2+NO+3H2O
∴x and y are 2 and 6.
So, x+y=2+6=8.