Faye was placing her pencils into rows with 27 pencils in each row. She had 30 packs of pencils each one having 6 pencils. How many pencils does she have?
Faye has 30 packs of pencils, each with 6 pencils. 
That means she has a total of 180 pencils. 
She wants to put them into rows of 27 pencils each. 
That means she can make 6 rows of 27 pencils each. 
That means she will have 6 pencils left over. 

So the answer is that Faye has 180 pencils.