Write the line in general form.
12x+72=5y−10
12x−5y+82=0
So A=12, B=−5 and C=82.
The distance of the point (x1,y1) from the line Ax+By+C=0 is
d=A2+B2∣Ax1+By1+C∣
For the point (−1,1),
d=122+(−5)2∣12(−1)+(−5)(1)+82∣
=169∣−12−5+82∣
=1365=5
Hence, the distance is 5 units.