Answer
\$2.75 per hot dog
\$1.5 per soft drink
Work Step by Step
The purchase of the first group can be represented as follows:
$10h+5s=35$
where 'h' is the cost of each hot dog and 's' is the cost of each soft drink.
Similarly, the purchase of the second group can be represented as follows:
$7h+4s=25.25$
To find the cost of each item, we can isolate one of the variables:
$10h+5s=35$
$5s=35-10h$
$s=7-2h$
$7h+4(7-2h)=25.25$
$7h+28-8h=25.25$
$ -h=25.25-28$
$-h=-2.75$
$h=2.75$ dollars per hot dog
$s=7-2(2.75)$
$s=7-5.5$
$s=1.5$ dollars per soft drink