To evaluate f(5), you might want to find the formula for f(x). I'm not sure why you think the slope between two other points on the curve would give you the value of y at x = 5. (Would the slope give you the value of y for any x between 2 and 8? If so, why? If not, then why would this work for x = 5?)
You are told that y is exponential, so you know that is it of the form y = ab<sup>x</sup>, where b is the base and a is some multiplier. You are given two data points, (2, 64) and (8, 25). Plug them in, and solve the system:
. . . . .ab<sup>2</sup> = 64
. . . . .ab<sup>8</sup> = 25
Then:
. . . . .ab<sup>8</sup> = ab<sup>2</sup>b<sup>6</sup> = 25 = 64b<sup>6</sup>
. . . . .25/64 = b<sup>6</sup>
. . . . .5/8 = b<sup>3</sup>
. . . . .cbrt(5/8) = b = cbrt(5)/2
. . . . .a(cbrt(5)/2)<sup>2</sup> = 64
. . . . .a(cbrt(25)/4) = 64
. . . . .a = 256/cbrt(25)
...and so forth.
Eliz.