She has 8 pencils left
Here, we want to find out the number of pencils Mrs.Herron has left
Initially, she has a total of 42 pencils and now she passes out 34 pencils
So, what she has left will be what she originally has minus what is left
Mathematically, that would be;
42-34 = 8 pencils