Let 3 numbers in AP be \(a, (a + 6), (a + 12)\).
Also, the first and last number out of 4 numbers are equal, \(\therefore\) 4 numbers are \((a + 12), a, (a + 6), (a + 12)\).
Given that the first 3 numbers are in GP, we have:
\[ \Rightarrow a^2 = (a + 12)(a + 6) \]
\[ \Rightarrow a^2 = a^2 + 18a + 72 \]
\[ \Rightarrow a = \frac{-72}{18} = -4 \]