Functions and Differentiation – Max – Min problem – Line on Cartesian Plane