Problema Solution

translate the following into a system of equations then solve it

A customer walks into an electronics store and buys five MP3 players and eight sets of headphones, paying $840. A second customer buys three MP3 players and four sets of headphones, and pays $480. How much does an MP3 player cost? How much does a set of headphones cost

Answer provided by our tutors

so 5x+8y=840

and 3x+4y=480

solviing above we get x=120 and y =30