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

##### 1 Answer

Feb 13, 2016

#### Answer:

x=2

y=1

#### Explanation:

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