Obtain the general term, $\displaystyle a_n$, of the sequence denoted by $\displaystyle S_n=3n^2-2n$, where $\displaystyle S_n$ is the sum of the first $\displaystyle n$ terms

To my understanding, is the question asking if you're given an equation $\displaystyle S_n$, which is the general equation of the sum of the first $\displaystyle n$ terms of an arithmetic sequence (is that correct), and you have to find the general term of the arithmetic sequence that $\displaystyle S_n$ represents, right?