Faye was placing her pencils into w rows with x pencils in each row. How many pencils does she have?
Faye is placing her pencils into w rows with x pencils in each row. 

That means that she has w rows of pencils, and each row has x pencils in it. 

So, she has w * x pencils in total.