Let's take a look at # 10 for purposes of illustration. How many different seats could Z occupy? Well, Z has only one constraint - that it be before O. That means Z can't go last. Is there anywhere else that Z can't go? No - it doesn't have a definite relationship to any of the other elements. To see this, if you trace a path from Z to any other element, you'll see that you have to zig-zag to do it, an indication that Z could go before or after the element. Hence, even though it doesn't appear this way as I drew the diagram, Z could even go first.
Since there are 6 positions, and Z is excluded from only one of them, Z could go in 5 positions, which is answer choice (D).
I'd love to hear if you have questions or comments about this
