From the question
We are given the points

Finding the slopre, m
Slope is calculated using

From the given points

Therefore,

Therefore, m = -8/3
The next thing is to find

A slope parallel to m
For parallel lines, slopes are equal
Therefore,

Next, we are to find

A slope perpendicular to m
For perpendicular lines, the product of the slopes = -1
Therefore

Hence,

Therefore,

Next, we are to find the distance KP
Using the formula
![KP=\sqrt[]{(x_2-x_1)^2+(y_2-y_1)^2}](https://tex.z-dn.net/?f=KP%3D%5Csqrt%5B%5D%7B%28x_2-x_1%29%5E2%2B%28y_2-y_1%29%5E2%7D)
This gives
![\begin{gathered} KP=\sqrt[]{(-3-(-6))^2+(-2-6)^2} \\ KP=\sqrt[]{3^2+(-8)^2} \\ KP=\sqrt[]{9+64} \\ KP=\sqrt[]{73} \end{gathered}](https://tex.z-dn.net/?f=%5Cbegin%7Bgathered%7D%20KP%3D%5Csqrt%5B%5D%7B%28-3-%28-6%29%29%5E2%2B%28-2-6%29%5E2%7D%20%5C%5C%20KP%3D%5Csqrt%5B%5D%7B3%5E2%2B%28-8%29%5E2%7D%20%5C%5C%20KP%3D%5Csqrt%5B%5D%7B9%2B64%7D%20%5C%5C%20KP%3D%5Csqrt%5B%5D%7B73%7D%20%5Cend%7Bgathered%7D)
Therefore,
![\text{Distance }=\sqrt[]{73}](https://tex.z-dn.net/?f=%5Ctext%7BDistance%20%7D%3D%5Csqrt%5B%5D%7B73%7D)
Next, equation of the line
The equation can be calculated using

By inserting values we have

Therefore the equation is