Question on Textbook.

My teacher gave us some PDF's of a text... i'm wondering why this situation is the case...

it then states "where (s+1)(s^2+2s+2) = (s+1)((s+1)^2+1)"

I understand how the denominator can break down.. but why is the denominator of the B and C fractions NOT squared???? This is confusing me a lot... They then go on to multipy the fractions out very oddly...

Can someone clarify what is going on here by chance? I would think the denominators for B and C should be (s+1)^2+1 and that the numerators would only get multiplied so that the demoniators equaled that of the equation on the left....

Any help is much appreciated!

EDIT: I was so stumped at that part, i never looked further in the example... looking further in the problem, i think it was simply a typo. However, i still would like to ask why the coefficient for B is (s+1) instead of simply s (since only the s is squared before you break up the poly)..?