(q+1)(q-1)
Note that this a difference of squares:
where a = q and b = 1 (a^2 - b^2)
Therefore, our answer is q^2 - 1.