Recall the equation for the slope of a straight line passing through two given points (, ) and ( , ): m = . Substitute the given data into this equation = . It is your basic equation. First simplify it: = , or, equivalently, = . It implies, after canceling the common denominator 6 7 = 30 - r ====> r = 30-7 = 23.