Item 1.4.11.d.

How many ternary digit strings contain exactly \(n\) digits and \(n-2\) 2's. (Hint: see previous hint)

in-context