Answer:
The cost of hamburger is $1.75.
The cost of hot dog is $1.25
Step-by-step explanation:
Consider the provided information.
Seven hot dog (s )and two hamburger (s )cost $12.25;
Let the cost of hot dog is x.
The cost of hamburger is y.
Therefore,
[tex]7x+2y=12.25[/tex]......(1)
Two hot dog (s )and seven hamburger (s )cost $14.75.
[tex]2x+7y=14.75[/tex]......(2)
Use elimination method to solve the above equation.
Multiply equation 1 by 2 and multiply equation 2 by 7 and subtract them as shown:
[tex]\ \ \ 14x+4y=24.5\\-14x-49y=-103.25\\\overline{\ \ \ \ \ \ \ \ \ \ \ \ \ 45y=78.75}[/tex]
[tex]y=1.75[/tex]
Hence, the cost of hamburger is $1.75.
Now substitute the value of y in equation 1.
[tex]7x+2(1.75)=12.25[/tex]
[tex]7x+3.5=12.25[/tex]
[tex]7x=8.75[/tex]
[tex]x=1.25[/tex]
Hence, the cost of hot dog is $1.25