Answer
$P(X\leq2)=0.046656+0.186624+0.31104=0.54432$
Work Step by Step
The solution is based on the binomial distribution:
$P(X=x)=C(n,x)*p^{x}*q^{n-x}$
If $x\leq2$, this means that x is either 0, 1 or 2, therefore we have to add the probabilities of these $x$ values.
If $p=0.4$, $n=6$, then $q=1-0.4=0.6$
By substituting into the given variables, we get:
$P(X=0)=C(6,0)*0.4^0*0.6^6=\frac{6!}{0!\times(6-0)!}*0.4^0*0.6^6=0.046656$
$P(X=1)=C(6,1)*0.4^1*0.6^5=\frac{6!}{1!\times(6-1)!}*0.4^1*0.6^5=0.186624$
$P(X=2)=C(6,2)*0.4^2*0.6^4=\frac{6!}{2!\times(6-2)!}*0.4^2*0.6^4=0.31104$
The sum of these values gives us:
$P(X\leq2)=0.046656+0.186624+0.31104=0.54432$