Use the basic product rule... y = vu' + uv' and you will get what the first part of the answer is.
Then you need to put the two over a common denominator and you will get the next part of the answer.
Then as user 'Faisalabdul16' said:
"Stationary points occur when first derivative = 0...