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