Yes, find the prime factors.
4 can be written as 22.
g^4 can be written as gggg.
That is the prime factorization of the first expression.
4g^4 can be written as 22gggg.
34 can be written as 217.
And again we can split up the g business: g^3 is ggg.
34g^3 can be written as 217ggg.
What do these expressions have in common?
They have a 2 in common,
and three of the g's in common, ya?
Therefore the GCF(4g^4, 34g^3) = 2g^3.