Solution:
The equation of the line passing through the points and is
General point on the line is
Suppose that be the foot of the perpendicular to the point on the above line
Hence, the line is perpendicular to the above line
It implies that
Therefore, the foot of the perpendicular is