Explain how the binomial probability equation is $\frac{n!}{x!(n-x)!}(p^x)(q^x)$

Instead of just memorizing this formula, I'd like a detailed explanation/proof on why this is the case.

Answer

Answers can be viewed only if
  1. The questioner was satisfied and accepted the answer, or
  2. The answer was disputed, but the judge evaluated it as 100% correct.
View the answer
The answer is accepted.