MATH
posted by HAILS on .
you purchase 8 video game machines for a total of $2722. A nintendo costs $249 and an Xbox costs $395. How many nintendos and how many xboxes did you buy?
What 2 equations do I write and how do i solve it? (elimination substituation etc.)

x+y = 8
249 x + 395 y = 2722
try substitution
y = (8x)
then
249 x +395(8x) = 2722