Differentiate the given function and equate it the zero. Find value at which it will be zero. Substitute this value of x in double differentiated function. If it is greater than zero then it is point of minima else if it is less than zero it is point of maxima.
For Example:
x^2 - 4x + 6 = y
dydx=2x−5
2x -4 = 0
x = 2
y" = 2
Therefore x = 2 is a point of minima.