All of the r^2 is removed from the top and bottom, but I am unsure how. Thanks!

Divide by r^2 on both the numerator or the denominator, or factorise the numerator.