Suppose that independent Bernoulli trials with parameter p are performed successively. Let N be the number of trials needed to get x successes, and X be the number of successes in the first n trials. Show that P(N=n) = (x/n) P(X=x)

I have no idea how to show it...