Step-by-step explanation:
[tex]x(x + 3) + x(2x - 4) + 6[/tex]
First, let's distribute the [tex]x[/tex] variable to each term in the first parenthesis:
[tex]x^{2} + 3x + x(2x - 4) + 6[/tex]
Next, let's distribute the [tex]x[/tex] variable to each term in the second parenthesis:
[tex]x^{2} + 3x + 2x^{2} - 4x + 6[/tex]
Next, let's group like terms together:
[tex](x^{2} + 2x^{2}) + (3x - 4x) + (6)[/tex]
Finally, let's add or subtract like terms to get the result:
[tex]3x^{2} - x + 6[/tex]