1.28 (b) Another conductor B with charge q is inserted into the cavity keeping B insulated from A. Show that the total charge on the outside surface of A is Q + q
We know the Electric field inside a conductor is zero.
Now, imagine a Gaussian surface just outside the cavity inside the conductor. Since, E=0 (Using Gauss' law), hence net charge must be zero inside the surface. Therefore, -q charge is induced on the inner side of the cavity(facing conductor B).
Now consider a Gaussian surface just outside the conductor A. The net electric field must be due to charge Q and q. Hence, q charge is induced on the outer surface of conductor A. Therefore, the net charge on the outer surface of A is Q + q.