$2 per person for zoo members and $3 per person for non members. 239 tickets were sold for a total of $593. How many zoo members and how many non zoo members visited that day?

Respuesta :

x=number of members

y=number of non-members

total peple was 239 so x+y=239

total collected was 593 so 2x+3y=593


we have 2 equations, 2 unknowns

x+y=239

2x+3y=593

elimination

multiply 1st equation by -2

-2x-2y=-478

add to 2nd equation


-2x-2y=-478

2x+3y=593 +

0x+1y=115


y=115

solve for x

x+y=239

x+115=239

x=124


124 zoo members and 115 non-members visited the zoo that day