Explanation:
The slope of line q is 1 since the coefficient of x is 1. Since line r is perpendicular to line q, its slope will be the negative reciprocal of the slope of line q. Thus, the slope of line r will be -1.
Now we can use the point-slope form of the equation of a line to find the equation of line r. We know that line r passes through the point (8, -7), so we can write: y - (-7) = -1(x - 8)
Simplifying this equation, we get: y + 7 = -x + 8
Subtracting 7 from both sides, we get: y = -x + 1
So the equation of line r in slope-intercept form is y = -x + 1. The coefficients of x and the constant term are already integers, so we don't need to simplify them further.....