13: The condition that the point lies on the line reads y = 2x + 2, this allows one to get rid of y. Moreover, optimizing a positive function is equivalent to optimizing its square, which allows for another simplification.

The function

should be minimized over the set M of real numbers (the point can be anywhere, there is no natural restriction on x). Use the appropriate algorithm.

Next hint
Answer