Figuring out the full concentrations at equilibrium given x1 and x2 are the extents of the two reactions respectively. The equilibrium concentrations can be expressed as functions of x1 and x2:
[H2S] = .1 - x1
[H+] = x1 + x2 + 10-7
[HS-] = x1-x2
[S2-] = x2
The K expressions are:
Ka1 = (x1+x2+10-7)(x1+x2)/(.1-x1) (It is safe to make the preliminary assumption that x1 >> x2+10-7,(obviously just x2 as well) and that x1<<.1) This reduces the problem to
8.9 x 10-8 = x12/.1 or x1 = 9.4 x 10-5 M
and Ka2 = x2(x1 + x2 + 10-7)/(x1+x2) which leads to 10-18 = x2
(assumption are all well within 2 sig figs.)
All the equilibrium concentrations are easy to calculate from there.