The geometric series takes the form:
a + ar + ar2 + ..........
The second term = 2
=> ar = 2
Limiting sum = 9
=> a/(1 - r) = 9
a = 9(1 - r)
Sub into first equation:
9r(1 - r) = 2
9r - 9r2 = 2
9r2 - 9r + 2 = 0
(3r - 1)(3r - 2) = 0
r = 1/3 or r = 2/3
When r = 1/3, a = 6
When r = 2/3, a = 3