2. Create two fractions, $\frac{a}{p1}$, and $\frac{b}{p2}$, where p1 and p2 are the polynomials you just factored out, and a/b are arbitrary variables
Given the above fraction, the denominator is already factored, so we can move onto the next step, where two fractions are made with $a$ and $b$ in the numerator, and each of the denominator components in the denominator:
Then to make the denominators equal, you're going to multiply the numerator and the denominator by the component that the denominator is missing. In this example, the denominator for $\frac{a}{x+1}$ is missing $x+2$, so you're going to multiply by $\frac{x+2}{x+2}$, and vice versa for $\frac{b}{x+2}$: