To find the nth terms, the formula is
[tex]a_n = a_1 + d(n-1)[/tex]
The common difference in this sequence is 2, so d=2.
The first term is 5, so a₁=5
Thus,
[tex]a_{21} = 5 + 2(21-1)=5+40=\boxed{45}[/tex]
[tex]a_{10} = 5 + 2(10-1)=5+18=\boxed{23}[/tex]