The equation of a line in slope-intercept form is:
Where m and b are parameters and the solutions to this equation have the form (x,y) and are the points through which the line passes. This means that if we take two points (x,y) we can construct two equations for m and b.
So what we are going to do on each exercise is construct two equations using the one above and the two points given and with those equations we are going to find m and b on each case.
We can start with 8). We have (x,y)=(-5,-5) and (x,y)=(0,-3). Then the equations are:
From the second equation we get b=-3. Then we are going to replace b with -3 in the first equation:
Now we add 5m and 5 to both sides of this equation:
Then we divide both sides by 5:
So m=2/5 and b=-3. Then the answer to 8) is:
Now for 10) we have (x,y)=(0,-2) and (x,y)=(5,5). Then we have the following equations:
From the first equation we get b=-2. Then we use this value in the second equation:
We can add 2 to both sides:
Then we divide both sides by 5:
So we have m=7/5 and b=-2. Then the answer to 10) is: