Bunuel
Janel was shopping for pencils and pens at a Fung's Stationary Store where pencils costs $2 each and pens costs $3 each, how many pens did she buy?
(1) Janel spent $5 total.
(2) Janel bought a total of 2 pencils and pens.
Let x be the number of pencils bought and y be the number of pens bought.
y = ?
Statement 1:
5 = total amount spent
Amount spent by Janel = 2*x + 3*y (since each of the x pencils costs 2 dollars and each of the y pens costs 3 dollars)
5 = 2*x + 3*y
Since x and y are the number of pencils and pens bought respectively, they are non-negative integers. The only set of integers satisfying the given condition is 1, 1. (if x = 0, y = 5/3 which is not an integer; if y = 0, x = 5/2 which is not an integer; if x = 1; y = (5-2)/3 = 1; if x = 2, y = 1/3 which is not an integer; if y = 2, x = -1/2 which is neither positive nor an integer. Thus, no other non-negative integer values satisfy the condition except for 1,1)
Therefore, x = 1, y = 1
Statement 1 is sufficient.
Statement 2:
2 = total of pens and pencils
2 = x + y
This implies, x can 0 and y can be 2, x can be 1 and y can be 1 and x can be 2 and y can be 0 (since only non-negative integers are allowed)
Therefore, this statement does not yield a unique value for y.
So, statement 2 is not sufficient.
Hence, since only statement 1 is sufficient, answer is
A.