Answer
The third smallest value at which a harmonic frequency of B matches one of the harmonic frequencies of A is $~~n_B = 10$
Work Step by Step
We can write an expression for the harmonic frequencies of pipe A:
$f = \frac{nv}{4L_A},~~$ where $~~n = 1,3,5,...$
We can write an expression for the harmonic frequencies of pipe B:
$f = \frac{nv}{2L_B},~~$ where $~~n = 1,2,3,...$
$f = \frac{nv}{(2)(4~L_A)},~~$ where $~~n = 1,2,3,...$
$f = \frac{nv}{8~L_A},~~$ where $~~n = 1,2,3,...$
When $n_B = 10$, then $f = \frac{10v}{8~L_A} =\frac{5v}{4~L_A}$
The third smallest value at which a harmonic frequency of B matches one of the harmonic frequencies of A is $~~n_B = 10$