Step 1: Find the first term (\( a_1 \)).
The sum of the first \( n \) terms is \( S_n = 3n^2 + 5n \).
The first term is \( a_1 = S_1 = 3(1)^2 + 5(1) = 3 + 5 = 8 \).
Step 2: Find the common difference (\( d \)).
The sum of the first two terms is \( S_2 = 3(2)^2 + 5(2) = 12 + 10 = 22 \).
The second term is \( a_2 = S_2 - S_1 = 22 - 8 = 14 \).
The common difference is \( d = a_2 - a_1 = 14 - 8 = 6 \).
Step 3: Find the general formula for the \( n^{th} \) term (\( a_n \)).
The \( n^{th} \) term is \( a_n = a_1 + (n - 1)d = 8 + (n - 1)6 = 8 + 6n - 6 = 6n + 2 \).
Step 4: Use the \( m^{th} \) term to find \( m \).
Given \( a_m = 164 \), we have \( 6m + 2 = 164 \).
\[
6m = 162
\]
\[
m = \frac{162}{6} = 27
\]