Perpendicular Distance between a Line and a Point

45°
0
0
2
2
10 -10 -10 10