Since p represents profit, and we want to calculate the amount of candy bars to be sold to get a profit of 700 dollars, substitute 700 for p in the equation to calculate the value of n (the number of candy bars that must be sold).
p = 1.5n - 500 (given)
700 = 1.5n - 500 (substitute)
1200 = 1.5n (add 500 to both sides)
800 = n (divide both sides by 1.5)
Answer:
800 candy bars must be sold to make a profit of $700.
In solving equations, each must have vales of x and y. X is any number and Y is the output of any number. If you substitute x for a number, you can solve the equation for y.