For a), bring the 2 out of the integral, and remember that ∫1/t dt = loget, no constant needed since it's a definite integral.
b) (x+7)/(x-1)=(x-1+8)/(x-1)
= (x-1)/x-1) + 8/(x-1)
= 1 + 8/(x-1)
So when integrating (x+7)/(x-1), change this to what we've just changed the expression into, 1 + 8/(x-1), and integrate that.
Remember that ∫a.f '(x)/f(x) dx = a.loge[f(x)], no constant needed for same reason as before. I hope that helps.