Consider the system of equations
\begin{align*}
5x + y &= 31, \\
-3x + 4y &= -37.
\end{align*}
Substitute this into the second equation: y = 31 - 5x
Solve for x and y, enter your answer as an ordered pair(x,y)
We don't actually want to substitute the $y=31-5x$ into the second equation I think you meant substitute into $y$. After this we get
$-3x+4(31-5x)=-37$ for the second equation. Distribute to get
$-3x+124-20x=-37$ Combine like terms to get
$-23x+124=-37$ Then we subtract $124$ from both sides resulting in
$-23x=-161$ Divide by $-23$ from both sides to get
$x=7$ Plug this into the first equation resulting in
$5(7)+y=31$ Distribute to get
$35+y=31$ Subtract $35$ from both sides to get
$y=-4$. So our answer is
$(7,-4)$