Calculate [the square of x plus 6x plus 9] × x plus the square of three thirds of x plus 9x plus 18

Calculate [the square of x plus 6x plus 9] × x plus the square of three thirds of x plus 9x plus 18

[x's Square plus 6x plus 9] × X's Square plus 3 / X's Square plus 9x plus 18
=(x+3)²x 【(x+3)(x+6)/(x+3)】
=(x+3)²(x+6)