The slope-intercept form:

We have (1, -7) and (-1, 1).
Substitute:

Therefore we have

Substitute the coordinates of the first point to the equation of line:

Answer:

Let the cost of 3 bags of chocolate be x and that of gummy be y. Thus to solve the question we form systems of equation as:
3x+7y=22...............i
x+3y=8.....ii
from ii
x=8-3y........iii
substituting iii in i we get:
3(8-3y)+7y=22
24-9y+7y=22
-2y=-2
y=1
thus the value of x=8-3*1=5
thus the price of each bag of chocolate is $5 and that of gummy is $1
{5/33, -1/5} is the answer
solution,
slope(m) = y2-y1/ x2-x1
= 4+7/1+3
=11/4
I hope this is correct, the formula can be wrong so pls double check if u have formula.
Slope is the change in Y over the change in. X
Using two of the given points:
Slope = 70-45 / 25-10
Slope= 25/ 15
Slope = 5/3