Suppose there's items $A,B,C,D,E$ where the desired pick will be to pick $C$. At first try, I randomly picked $B$, hence now the pick-pool will be $A,C,D,E$ and second try I picked $E$ and now it's $A,C,D$ and so on.
So if there's $n$-items and $x$-tries ($x \leq n$). What is the probability that I get the desired item out of these random items after $x$-tries. If we have $x=1$, then the probability is $1/n$ and if $x=n$, then it's $1$
This is just the probability that if you pick $x$ items out of $n$, the desired object will be among those you picked, so the probability of success is $$\frac xn$$