the 8 term of GP is 640 and the first terms is 5 find the common ration and 10 terms

I am not going to do your homework for you.

Please use your search engine to find
Math is Fun geometric sequence
Tn = a r^(n-1)
if n = 1, T1 = 5 = a^0 = a
if n = 8 , T8 = a r^7 = 5 r^7 = 640
so r^7= 640/5 = 128
what^7 = 128 ?
well 2^7 = 128
so
Tn = 5 * 2^(n-1)