The given algebraic fraction is
We need to find the greatest common factor of the numerator
Since the common factor of 3 and 6 is 3
Since the common factor of x and x^2 is x
Then the greatest common factor is 3x
The greatest common factor of the numerator is 3x