As for Lagrange's method set . Then, Next, Finally, So there are two critical points (1, where x+2y has a min of , and where it has a max of .