solve y = x^2 + 5x +6 and y=4x+12