Question

$$(Ax+B)(x+1)^{2}$$

Evaluate

$\left(x+1\right)^{2}\left(Ax+B\right)$

Expand

$Ax^{3}+Bx^{2}+2Ax^{2}+Ax+2Bx+B$