Use p for pencils and e for erasers.
8p+2e=1.66
12p+5e=3.19
Solve by elimination. To do that, multiply the first equation by 5 and the second equation by -2. The equations are now:
40p+10e=8.30
-24p-10e=-6.38
Combine the equations to simplify.
16p=1.92
Divide each side by 16
p=0.12
Each pencil costs $0.12
Plug that back into an equation:
8(0.12)+2e=1.66
Simplify
0.96+2e=1.66
Simplify
2e=0.7
Simplify
e=0.35
Each eraser costs $0.35
ANSWER: Pencils cost $0.12 each, and erasers cost $0.35.
A thanks and 5 star is always appreciated :D :D :D