We have to find the equation of the line that pass through (-1,-1) and (2,8).
We can start by calculating the slope as:

Then, we can take a point and the calculated slope and write the equation in slope-point form and then rearrange it:

Answer: y = 3x+2