Answer:
x = 5 pens
y = 7 pencils
Step-by-step explanation:
let
x = the number of pens
y = the number of pencils
Anthony spent $2.80 to buy a total of 12 pens and pencils
0.35x + 0.15y = 2.80
x + y = 12
by solving the system of equations
0.35x + 0.15y = 2.80
x + y = 12
we find
x = 5 pens
y = 7 pencils