Problema Solution

At a football game, a vender sold a combined total of sodas and hot dogs. The number of sodas sold was three times the number of hot dogs sold. Find the number of sodas and the number of hot dogs sold.

Answer provided by our tutors

let


x = the cost of one hot dog

y = the cost of one soda

A = a combined total of sodas and hot dogs sold


x + y = A


the number of sodas sold was three times the number of hot dogs sold


y = 3*x


by solving the system of equations


x + y = A

y = 3*x


substitute y = 3*x in the first equation x + 3*x = A


we find


x = A/4


y = (3/4)*A


1/4 of the combined total (of sodas and hot dogs sold) were hot dogs while the rest 3/4 were sodas.