Hello, Dragon!
Did you make a sketch?
Code:
* (-3,8) |
* |
* Q|
*
| * P
- - - - - - - - - + - - - - - * - - - - - - -
| * (6,-4)
| *
| *
Game plan
The line contains the points (-3,8) and (6,-4).
. . We want the equation of that line.
Then we want its x-intercept and y-intercept .
. . Then we want the distance .
The slope of line is: .
The equation of the line through (6,-4) with slope is:
. .
For the -intercept, let and solve for
. . . . . -intercept:
For the -intercept, let and solve for
. . . . . -intercept:
The distance from to is:
. .