Solve using substitution

Y= x^2-2x-6 and y= 4x+10

So you would have

x^2 - 2x - 6 = 4x + 10

Arrange as a quadratic and solve
(it factors nicely)