n is the fixed number of trials. x is the specified number of sucesses. N - X is the number of failures. P is the probablity of success on any given trail. 1 - P is the probabilty of failure on any given trial.
These probabilities hold for any value of X between 0 (lowest number of possible successes in n trials) and n (highest number of possible successes).