Hello, I'm new to the forum and would like to get some help with two problems that both relate to analyzing functions. I understand the basic concepts but these questions have been placed under the category of "critical thinking" and I'm not sure how to go about solving them.

Problem #1

If $\displaystyle f(2m+1)=24m^3+36m^2+26m$, what is $\displaystyle f(x)$?

(Hint: Begin by solving $\displaystyle x=2m+1$ for $\displaystyle m$.)

I tried this, and so far I got $\displaystyle m= \frac {-1}{2}$ for the "hint". I'm not sure if that's what I was supposed to try to figure out, and if it is, I'm not sure where to go from that point.

Problem #2

$\displaystyle P(x)$ is a function for which $\displaystyle P(1)=1$, $\displaystyle P(2)=2$, $\displaystyle P(3)=3$, and $\displaystyle P(x+1)= \frac {P(x-2)P(x-1)+1}{P(x)}$ for $\displaystyle x \geq 3$. Find the value of $\displaystyle P(6)$.

To be honest, I don't know where to start with this one. I don't know how to deal with all the information that the question is giving me.