
Andrew F. answered 11/29/21
Experienced private school teacher
Alex, there is the easy way to find the answer (use Algebra 1) and the hard way (use Calculus) and it looks like you have been asked to do this the hard way.
Easy way: find the point slope form of the perpendicular to the line -2x + 3y + -1 = 0 which passes through the point (4,0) and then find the intersection of these two lines (because the perpendicular is the shortest distance).
Hard way: use the distance formula to create a distance function, take the derivative to find the local minimum, check endpoints to confirm that the local minimum is the global minimum, and you have your answer.
Hope this helps, but please let me know--Andrew