$$f(x) = a^x + b^x $$
You need two equations to solve for both $a$ and $b$.
$$f(x_1)=c=a^{x_1}+b^{x_1}$$
and
$$f(x_2)=d=a^{x_2}+b^{x_2}$$
Of course, there are some obvious restrictions on what points can be used to yield unique solutions.
$$x_1 \
ot = x_2 \
ot =0 $$
Of course, in all likelihood, you'll end up having to solve these equations using numerical methods.