Answer:
1.89x + 5.19y = 31.62.
Step-by-step explanation:
Let the pagke of hot dags be x
Let the pakage of hamburgers be y
Now they total up tp 8 packages.
xEliminate the cost
x+y=8
y=8-x
Cost of hotdogs = $1.89
Cost of hamburgers = $5.19
1.89x+5.19y=31.62
1.89x+5.19(8-x)=31.62
1.89x+41.52-5.19=31.62
-3.3x=--9.9
x=3
y=8-3
y=5