Answer: r = 2
Explanation:
The line passes through each pair of points, (r, 2), (5, r)
Slope, m = 0
From the points, (r, 2), (5, r) given,
Slope, m = (change in value of y)/ (change in value of x)
For (r, 2), y1 (initial value of y) = 2
x1 (initial value of x ) = r
For (5, r), y2 (final value of y) = r
x2 (final value of x ) = 5
Slope = (y2-y1)/ (x2- x1)= (r-2) /( 5-r)
From the question, slope = 0
Therefore,
0 = (r-2) /( 5-r)
Cross multiplying,
r-2 = 0(5-r)
r-2 =0
r = 0+2 = 2
So the pair of points through which the line passes = (2, 2), (5, 2) with slope, m = 0