Let x represent the number of green pencils that Dustin bought.
Dustin bought 9 pencils. The remainder of the pencils were purple. This means that the number of purple pencils that he bought is 9 - x
Some of the pencils were green and cost $0.90 each. The remainder of the pencils were purple and cost $0.65 each. If Dustin paid $7.10 for all of the pencils, it means that
6 runners, 3 medals, how many ways to give them? well, runner say 2 could get gold or not, bronze or not and silver or not, and so can any other runnner, and the order "does matter", it makes a distinction, thus, is a Permutation