The Product of two consecutive integers is 17 less than the square of the larger integer. Find the integers.

I started with let x+1 = integer 1 and x+2= integer 2

(x+1)(x+2)=(x+2)^2-17

Am I on the right track?

After doing the above equation i came up with x=5. But, (5+1)=6 and (5+2)=7, so the integers 6x7=42 is not 17 less than 7^2 which is 49, it's only 7 less. How do I come to the right answer?