Queueing With Friends
Python 2, 45 41 40 37 bytes



lambda n,j,x:range(j-x/2,x%2or n-x,j)


Pretty much the trivial solution. I just quickly scanned for patterns and found a pattern. 1-indexed, 1 is at the back of the queue.

-4 bytes by avoiding ternaries and using an array for the values instead
-1 byte thanks to some inspiration from @DeadPossum, by using and instead of ternaries or array selectors
-3 bytes by switching to or in the opposite order. Only works because of 1-indexing  

Also, crossed out 4 is still 4 on all of the 4s :(

Try it online!