Given equation of a line ax + by +c = 0. give set of points (a1...an) in the x,y cordinate axes but not on the line. To find a point on line such that sum of distances from all given points (a1...an) to the point on the line is minimum ?

How can i do it ?

Tanvi