How do I know which variable to use as f(x) first when I use the method of integration by parts? For example, in questions like

In this equation you use as f prime of x

In this problem

You use as the f prime of x

How do I know which one to use as f prime of x?