If f(0) = 5 and f(6) = 23, using the form f(x) = , find the value of P, and then find the value of a.

So far, I have:

Then I try to solve for a:

Is this the right way to go about things? If I plug in my value for P I get:

Is this the right process? Now how do I solve for a?

??