A concession stand sells hamburgers (h) for $2 and hotdogs (d) for $1. On Friday night they sold a total of 300 hamburgers and hotdogs and made $420. How many of each did they sell? give a numeric answer

Let's assume they sold 'h' hamburgers and 'd' hotdogs.

Given that each hamburger costs $2 and each hotdog costs $1, we can set up the following two equations:

h + d = 300 (Equation 1)
2h + d = 420 (Equation 2)

To solve for 'h' and 'd', we can multiply Equation 1 by 2 and subtract it from Equation 2:

2h + d = 420
-(2h + 2d = 600)
--------------
-1d = -180

Dividing both sides of the equation by -1, we have:

d = 180

Substituting the value of 'd' into Equation 1:

h + 180 = 300

Subtracting 180 from both sides of the equation:

h = 300 - 180
h = 120

Thus, they sold 120 hamburgers and 180 hotdogs.