Solve for \(x\) in \(x+3y=-2\).
Solve for \(x\).
\[x+3y=-2\]
Subtract \(3y\) from both sides.
\[x=-2-3y\]
\[x=-2-3y\]
Substitute \(x=-2-3y\) into \(7x+3y=4\).
Start with the original equation.
\[7x+3y=4\]
Let \(x=-2-3y\).
\[7(-2-3y)+3y=4\]
Simplify.
\[-14-18y=4\]
\[-14-18y=4\]
Solve for \(y\) in \(-14-18y=4\).
Solve for \(y\).
\[-14-18y=4\]
Add \(14\) to both sides.
\[-18y=4+14\]
Simplify \(4+14\) to \(18\).
\[-18y=18\]
Divide both sides by \(-18\).
\[y=-1\]
\[y=-1\]
Substitute \(y=-1\) into \(x=-2-3y\).
Start with the original equation.
\[x=-2-3y\]
Let \(y=-1\).
\[x=-2-3\times -1\]
Simplify.
\[x=1\]
\[x=1\]
Therefore,
\[\begin{aligned}&x=1\\&y=-1\end{aligned}\]
x=1;y=-1