"The sum of two times x and 3 times y is 5."
From this sentence, we get the following equation

"The difference of x and y is 5."
From this sentence, we get the following equation

They are both line equations, and the solution of this system is the intercept between those lines.
Using a graphing software, we have the following graphs
The value of y is - 1.