moles =Molarity *volume in liters
=10^-5mol/L*0.001L
=1.0*10^-8moles
please note M stands formolarity and its unit is mol/L
M of final solution =moles/volume in L
=1.0*10^-8moles/1L
HCl(aq)===>H+(aq) +Cl-(aq)
molarity of HCl and H+ are same since mole ratio is 1:1
pH=-log[H+]
pH=-log(1.0*10^-8)
=-(-8)
=8
you can also find the conc of final solution usign dilution formula
M1V1=M2V2