3.4k views
4 votes
Picture vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv

Picture vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv-example-1

2 Answers

2 votes

Answer: $3 / hot dog

Explanation:

Given information:

1 hot dog + 1 pretzel = $5

2 hot dogs + 3 pretzels = $12

Set variables:

Let x be the price per hot dog

Let y be the price per pretzel

Set system of equations:

x + y = 5

2x + 3y = 12

Multiply the first equation by 3:

3x + 3y = 15

2x + 3y = 12

Subtract the second equation from the first equation (Elimination):

(3x + 3y) - (2x + 3y) = 15 - 12

3x + 3y - 2x - 3y = 3

(3y - 3y) + 3x - 2x = 3

0 + x = 3


\boxed{x=3}

Hope this helps!! :)

Please let me know if you have any questions

User Tomas Turan
by
5.5k points
3 votes

Answer:

pretzel: 2

hotdog: 3

Explanation:

Let h be the hotdog price and p the pretzel price.

We know that:

h + p = 5

and

2h + 3p = 12

We can solve this system of equations:

h = 5-p

2(5-p) + 3p = 12

So the second eq. becomes:

10 - 2p + 3p = 12

10 + p = 12

p = 2

Sub in the first:

h = 5 - p = 5-2 = 3

So p = 2, h = 3

User Zato
by
5.6k points