In a family of four members: W, X, Y, and Z, W is the mother of X and Y. X is a doctor, and Y is a teacher. Z is the father of X and Y. What is Z's profession?
A store sells pencils for $0.50 each and erasers for $1.00 each. If a student buys a total of 10 items for $6.00, how many pencils did the student buy?