Assuming this is meant to be the shortest distance between a point and a line, we need to find where the perpendicular from the point on to the line meets the line.
y=2x/3+7 is the rewritten form of the line. The perpendicular has a slope of -3/2 (negative inverse of the line's slope) and equation y-4=-(3/2)(x+1); so 2x/3+7-4=-3x/2-3/2.
That is 2x/3+3+3x/2+3/2=0. Multiply through by 6: 4x+18+9x+9=0.
13x+27=0, x=-27/13 and y=-18/13+7=73/13. The perpendicular from (-1,4) meets the line at (-27/13,73/13).
By Pythagoras, the distance between the points is √((-27/13+1)^2+(73/13-4)^2)=7√13/13=1.94145 approx.
The question contains no explicit details so this is offered as a solution to a hypothetical question based on the given information.