.
The line passing through the two given points has the equation
= , or
= , or
= 2, which is the same as
y+3 = 2*(x-2), or
2x - y -7 = 0.
Having this equation, you can check, that your points lie in this straight line.
(From your course of analytic geometry you must know the procedure I applied above . . . )
On what to do next, see the lesson
- The distance from a point to a straight line in a coordinate plane
in this site.
You will find there everything you need to complete the solution on your own.
OK. The last step is this formula for the distance, taken from that lesson:
d = = = .
Also, you have this free of charge online textbook on Geometry
GEOMETRY - YOUR ONLINE TEXTBOOK
in this site.
The referred lesson is the part if this textbook under the topic
"The distance from a point to a straight line in a coordinate plane".
Please let me know whether this lesson was useful to you.
Thank you.