Danny pointed it out:
u = y-1 so du = dy
Therefore your equation becomes
The left side is a standard integral and is equal to
wikipedia link (and don't forget to put y-1 wherever u appears)
For the right side recall that
Where A and B are constants and so C = B-A which is also a constant (your constant of integration)