Write the greatest common factor of the following terms 3x^2y^2z