y = x^2 - 2x -2 and y = 4x + 5