We have the form Ax + By + C = 0
The distance between the given point (3,4) = (x, y) and this line =
l Ax + By + C l
________________
sqrt [A^2 + B^2]
l 4 (3) + 8(4) + 7 l l 51 l
_________________ = _________ = 51 / (4 sqrt 5) ≈ 5.7 units
sqrt [ 4^2 + 8^2 ] sqrt 80