Choose n and p, then choose which values of X to include. The probability is the total of the shaded bars.