Question 508724
so for these problems I personally like to represent X as the input and Y as output so 
2x+1=y is your pattern

Plug 21 in
2x+1=21
minus one on both sides
2x=20
divide
x=10 
So your missing N = 10