B = 3 ( x + 5 ) + ( -x + 2 )( x + 5 )