Before looking at my explanation make sure next time you are going to ask another question write the numbers that include exponents like this: x^2 instead of x2
Factor out x^2:
x + x
Factor out 6x:
Since it is in the bx form we’ll need two numbers be add so it can be equivalent to 6x