If the third term of a gp =4 than product of first five term=

ar^2 = 4

So, you want to know

a^5 r^10 = (ar^2)^5 = 4^5 = 1024