k=a + b;x=k^2 + sum(2^k), k=1 to 2