How do you solve by substitution x+y=5 and y=3x+1?