How do you solve the following system: 3x+y=8,2xy=7?