If 3,p,q,24 are consecutive term of an exponential sequence, find the value of p and q and hence the sum of the first 10 terms

Looks like each term is 3*2^n ...n from 0 to 3

so the sequence is
3,6,12,20, 3*16, 3*32, ....3*2^n