Simplify 3/(a-5)+(a+2)/a