Bonjour
( 3 x + 1 )² + ( 3 x + 1 ) ( - x - 1 )
= ( 3 x + 1 ) ( 3 x + 1 - x - 1 )
= ( 3 x + 1 ) ( 2 x )