Firstly, find the function from the second equation. For that, differentiate w.r.t. $y$ (Considering $x$ as constant, you will get
$f'(x+y)=f(x)f'(y)$ and then put $y=0$ which gives $f'(x)=tf(x)$ where $t=f'(0)$ is some constant.
So, from integrating both sides, we get $ln(f(x))=tx+b$ giving $f(x)=ce^{tx}=c(e^t)^x$
Find $c$ after you put $f(x)$ in second equation. $c$ comes out to be $1$
Now use $f(1)=2$. So $f(1)=(e^t)^1=2$ giving $e^t=2$
So, the final function is $f(x)=2^x$
$$2^a\sum_{k=0}^n2^k=2^a(\frac{2^{(n+1)}-1}{2-1})=2^a(2^{n+1}-1)$$
Something is wrong with your original question and match with this expression.
Hope this will be helpful!