(-2, -10) and (4, r)
The slope of the line (m) = (y₂ - y₁) ÷ (x₂ - x₁)
⇒ 3 = (r -(-10)) ÷ (4 - (-2))
3 = (r + 10) ÷ (6)
18 = r + 10
∴ r = 8
Checking my answer:
Finding the Equation
We can now use the point-slope form (y - y₁) = m(x - x₁)) to write the equation for this line:
⇒ y + 10 = 3 (x + 2)
To test my answer, I have included a Desmos Graph that I graphed using the information provided in the question and my answer. The line passes through both the (-2, -10) point and (4, 8). So r = 8.