FYI that is the integration by parts formula: Integration by parts - Wikipedia, the free encyclopedia and you're expected to use it on both equations

To find the integral of ln(x) note that

Now to integrate by parts. Since we don't know the integral of ln(x) we must say that and so

Therefore giving . Using the formula you posted

where k is a constant

Reintroducing the 5:

where

Can you do the second integral? It's much the same but with x instead of 1