One way, if you did want to memorize it, you said, OK, the integration by parts says if I take the integral of the derivative of one thing and then just a regular function of another, it equals the two functions times each other, minus the integral of the reverse.