In[]:=
FindInstance[2x+4y-x^2-y^25,{x,y},Reals]
Out[]=
{{x1,y2}}
In[]:=
FindInstance[2x+4y-x^2-y^2z&&z>0&&x>0&&y>0,{x,y,z},Integers]
Out[]=
{{x2,y2,z4}}
In[]:=
Solve[2x+4y-x^2-y^2z&&z>0&&x>0&&y>0,x,Integers]
Out[]=
x
1 if (y1&&z4)||(y2&&z5)||(y3&&z4)||(y4&&z1)
,x
2 if (y1&&z3)||(y2&&z4)||(y3&&z3)
,x
3 if y2&&z1
