How to find objective and constraint function when given just an equation of a line and a point

27 Views Asked by At

So here is the question:

enter image description here

Now, to find any extremum, I need the objective function, f(x,y) and a constraint function, g(x,y), since the components of gradient f will equal the components of gradient g(x,y) * lambda.

However, given just an equation of a line and a point, I really do not know how to establish my objective function (f) and my constraint function (g).

If someone can explain the steps for finding those two functions I am sure I can solve the problem on my own from there.