y-2/y-5 + (2y^2+3y-35)/(y^2-25)

=(y-2)/(y-5) + (2y^2+3y-35)/(y^-25)
=(y-2)/(y-5) +(2y^2+10y-7y-35)/(y-5)(y+5)
=(y-2)/(y-5) + (y+5)/(y-5) (2y-7)/(y+5)
=(y-2)/(y-5)+(2y-7)/(y-5)
=(y-2+2y-7)/(y-5)