solving system of linear equation by substitution method

y=x+2
2x+y=17