$$3x=y+7; x^{2}+xy=y^{2}+1$$
$x=5\text{, }y=8$
$x=2\text{, }y=-1$