Without any more information, the first term can be any number.
Let <em>a</em> be the first term in the geometric progression, and let <em>r</em> be the common ratio between consecutive terms. Then
<em>a</em> + <em>ar</em> + <em>ar</em> ² + <em>ar</em> ³ + <em>ar</em> ⁴ + <em>ar</em> ⁵ = 9 (<em>a</em> + <em>ar</em> + <em>ar</em> ²)
<em>ar</em> ³ + <em>ar</em> ⁴ + <em>ar</em> ⁵ = 8 (<em>a</em> + <em>ar</em> + <em>ar</em> ²)
<em>r</em> ³ + <em>r</em> ⁴ + <em>r</em> ⁵ = 8 (1 + <em>r</em> + <em>r</em> ²)
<em>r</em> ³ (1 + <em>r</em> + <em>r</em> ²) = 8 (1 + <em>r</em> + <em>r</em> ²)
<em>r</em> ³ = 8
<em>r</em> = 2
Now with this ratio, the sum of the first six terms is
<em>a</em> (1 + <em>r</em> + <em>r</em> ² + <em>r</em> ³ + <em>r</em> ⁴ + <em>r</em> ⁵) = <em>a</em> (1 - <em>r</em> ⁶)/(1 - <em>r</em>) = 63<em>a</em>
while the sum of the first three terms is
<em>a</em> (1 + <em>r</em> + <em>r</em> ²) = <em>a</em> (1 - <em>r</em> ³)/(1 - <em>r</em>) = 7<em>a</em>
and of course 63<em>a</em> = 9 • 7<em>a</em>, and this is true for any <em>a</em>.