Please do not use Lagrange multipliers. Assume these have not been introduced and optimize.
Edit: I try optimizing the squared distance formula using the equation as a constraint, but I only get one critical X out, so I don't know if that is the max or min, or how to find the other, since it's asking for both.
Edit 2: This is a serious question. Please do not discriminate because I cannot get the editor to work.
I get $x=-3/2$ and two corresponding y values, but is this the max or the min? Where do I plug this in to find out?
Note that the distance from the centre, which you want to measure is given by $r^2=x^2+y^2$ with $r\ge 0$ and maximising/minimising $r$ is therefore equivalent to maximising/minimising $r^2$.
To maximise $r^2$ note that $5x^2+4r^2=36$ so that $4r^2\le 36$ with equality, and a therefore a maximum, only if $x=0$.
To minimise $r^2$ note that $9r^2-5y^2=36$ so that $9r^2\ge 36$ with equality, and a minimum, only if $y=0$.