Then the function is: $\displaystyle f(x) = { 2 \choose x } \left( {0.1} \right)^x \left( {0.9} \right)^{2 - x}$