Answer:
pens: $0.35, pencils: $0.20
Explanation:
pens=x
pencils=y
5x+4y=255 --> 5x=255-4y --> x = 51 - 4y/5
4x+5y=240
4(51-4y/5) + 5y = 240
204 - 16y/5 + 5y = 240
5y - 16y/5 = 36
25y - 16y = 180
9y = 180
y = 20 cents = $0.20
x = 51 - 4(20)/5
x = 51 - 16
x = 35 cents = $0.35