

Let a is the first term and r is the common ratio of the GP
Now, given 10th term = 9
=> ar10-1 = 9
=> ar9 = 9 ............1
and given 4th term = 4
=> ar4-1 = 4
=> ar3 = 4 ............2
Equation 1/equation 2, we get
ar9 /ar3 = 9/4
=> r6 = 9/4
Again,
ar9 = 9
=> a*(r3 )3 = 9
=> a*(4/a )3 = 9 {from equation 2}
=> a*64/a3 = 9
=> 64/a2 = 9
=> 9a2 = 64
=> a2 = 64/9
=> a = 8/3
Now, 7th term = ar6 = (8/3)*(9/4) = (8*9)/(3*4) = 2*3 = 6
