If \(S_p\), the sum of first \(p\) terms of an A.P. is given by \(S_p = 3p^2+p\), find the \(p^{th}\) term.
 
\(a_p=\) iiii