How do you solve #y=x^2+6x+2# and #y=-x^2+2x+8# using substitution?