When the two spheres touch each other, part of the charge recombine together. The part of charge that recombines is the excess of positive charge on sphere Y, [tex]Q_y = +2 \cdot 10^{-6}C[/tex], that recombines with an equivalent charge of [tex]-2 \cdot 10^{-6}C[/tex] located on sphere X. As a result, the total charge remained on the two spheres is the excess of negative charge remained on sphere X:
[tex]Q=-4 \cdot 10^{-6}C[/tex]
Since the two spheres are identical, they have same capacity, so this charge will now redistribute equally on the two spheres: therefore, at the end, each sphere will have
[tex] \frac{Q}{2}=-2 \cdot 10^{-6} C [/tex]