In general, if we have an equation that has just one variable, such as x, then "solving the equation" means finding the set of all values that can be substituted for the one variable to produce a valid equation.
Isolate "x" on one side of the algebraic equation by adding the negative number that appears on the same side of the equation as the "x." For example, in the equation "x - 5 = 12", rewrite the equation as "x = 12 + 5" and solve for "x."
She would by 3 packages of hot dogs and 2 packages of hot dog buns. This is because 3*8 would be 24 and 12*2 is also 24. These would both be the minimum amount of packages.