If you aren't lucky enough to be told in the question, the first thing we have to do is know when we should you integration by parts.
.css-14jxgv6{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:row;-ms-flex-direction:row;flex-direction:row;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;}.css-14jxgv6 div:first-child{margin:10px 10px 5px 0;}.css-14jxgv6 div:last-child{margin-left:auto;}
The key to understanding expanding brackets is to understand that we need to multipy EVERYTHING in the first bracket by EVERYTHING in the second bracket.
We can think of the calculation