First, find the slope of the line using the slope formula:
Provided two points (a,A) and (b,B) on a line, its slope is given by:
For the points (-6,7) and (4,-2), we have:
The equation of a line in slope-intercept form, of a line with slope m and y-intercept b is:
Substitute m=-9/10 and the coordinates of one point to find the y-intercept. Use, for instance, the point (-6,7):
Substitute b=8/5 and m=-9/10 to find the equation of line Q: