对X求偏导,f'x=3x^2-6y-39
令f'x=0,则:3x^2-6y-39=0 (1)
对Y求偏导,f'y=2y-6x+18
令f'y=0,则:2y-6x+18=0 (2)
联立(1)(2)解得:x=5,y=6或x=1,y=-6