Hey everybody, first time using the forum because im taking cal II this semester and Im sure ill need help : )

I dont know how to integrate when an exponent is in the denominator. For ex:

4/y^2

my book does this:

4/y^2 = 4(-1/y) when integrated and i dont know how they did it, im sure its a combination of some algebraic trick that im just not catching.

For reference the book is: Thomas Calculus early transcendentals pg. 431 ex. 7

thanks for any help you can offer