Answer: -11/3
Step-by-step explanation:
Adding the two equations, we get [tex]5y=30 \implies y=6[/tex]
Substituting this into the first equation,
[tex]3x+7(6)=31\\\\3x+42=31\\\\3x=-11\\\\x=\boxed{-\frac{11}{3}}[/tex]