Answer
The net charge of shell B is $~~8.9\times 10^{-6}~C$
Work Step by Step
The flux is $-4.0\times 10^5~N~m^2/C$ when the enclosed charge within the Gaussian sphere is the charge of the particle and the charge of shell A.
The flux is $6.0\times 10^5~N~m^2/C$ when the enclosed charge within the Gaussian sphere also includes the charge of sphere B.
Therefore, the additional flux from shell B is $~~10\times 10^5~N~m^2/C$
We can find the net charge of shell B:
$\Phi = \frac{q}{\epsilon_0}$
$q = \Phi ~\epsilon_0$
$q = (10\times 10^5~N~m^2/C)(8.854\times 10^{-12}~F/m)$
$q = 8.9\times 10^{-6}~C$
The net charge of shell B is $~~8.9\times 10^{-6}~C$