5p + 3e = 0.65 (1st)
3p + 2e = 0.4 (2nd)
multiply (1st) equation by 2 and (2nd) equation by 3
10p + 6e = 1.3 (1st)
9p + 6e = 1.2 (2nd)
---------------------------------subtract
p = 0.1
10p + 6e = 1.3
10(0.1) + 6e = 1.3
1 + 6e = 1.3
6e = .3
e = 0.05
answer
one pencil = $.30 or 30 cents
eraser = $0.05 or 5 cents
hope it helps