I am in a queue with n fewer people behind me than in front of me.there are three times as many people in the queue as there are behind me. How many people are behind me in the queue in terms of n?

If there are x behind, the queue looks like

x ... me ... x+n
(x+1+x+n) = 3x
2x+n+1 = 3x
x = n+1