Here its given that HCl is added to pure water.
Pure water is neutral, its pH is 7. so it wont affect the concentration of H3O+ ions.
Now
Given reaction is
HCl (aq) + H2O (l) ---> H3O+ (aq) + Cl- (aq)
Here we see that molar ratio of HCl: H3O+ = 1:1
this means concentration of HCl = concentration of H3O+
that is why when 1 x 10^-8 M HCl is added to pure water, the [H3O+] = [HCl] = 1x 10^-8
[HCl] = [H3O+]