Mathematica creating an ellipse

how to add a KKT Symbolic Minimization Using the Karush-Kuhn-Tucker Conditions
to my app with conditions to an ellipse and as a second choice hyperbolas