x^2+xy-10=0 and 3xy^2+y-57=0