I have two random variables $X_1$ and $X_2$ with $P(X_1=x_1)=(1-p)^{1-x_1}p^{x_1}$ and for $X_2$ the same and $x_1 \in \{0,1\}$. I want to know how $Y=X_1+X_2$ is distributed. This is what i did: $P(Y=y)=P(X_1+X_2=y)=\sum_{x=0}^1 P(X_1=x, X_2=y-x)=\sum_{x=0}^1 P(X_1=x)P( X_2=y-x)=$ $\sum_{x=0}^1 (1-p)^{1-x}p^x(1-p)^{1-(y-x)}p^{y-x}=\sum_{x=0}^1 (1-p)^{2-y}p^y=2p^y(1-p)^{2-y}$
I think this is wrong because I think the answer should be ${2\choose y} p^y(1-p)^{2-y}$ So what did I do wrong? $X_1$ and $X_2$ are independent.