The sum of the first n terms of an AP is given by Sn=(3n2–4n). Find its (i) nth term, (ii) first term, and (iii) common difference.