x^2-y^2=9 and y^2-2x=6