Find the curve y=C(−2)x+D(−1)x+1y = C(-2)^x + D(-1)^{x+1}y=C(−2)x+D(−1)x+1, which gives the least squares fit to points (x,y)=(0,0),(1,4),(2,6)(x,y) = (0,0), (1,4), (2,6)(x,y)=(0,0),(1,4),(2,6).