The given points are,
x1, y1 = 5, 6
x2, y2 = -10, -15
The general line equation is,
y = mx +b
Here, m is the slope and b is the y intercept.
The slope m can be calculated as,
Now, b can be calculated by taking a point and susbtituting the values in the line equation.
Let us here take, th points (5,6). Therefore we have,
Thus, the equation is,