# How do you solve y=x-1 and x+y=3?

Feb 13, 2016

x=2
y=1

#### Explanation:

1. substitute y=x-1 into x+y=3 to get x+x-1=3
2. collect like terms 2x=4
3. divide both sides by 2 to get x=2
4. substitute x=2 into y=x-1 to get y=2-1 which equal y=1