Question
Let $x$ be a function of $t$ and $f=f(x,\dot{x})$. What are $\frac{\partial f}{\partial \dot{x}}$ and $\frac{\partial f}{\partial x}$ ?
Example
For example if $f(x(t),\dot{x}(t))=ax(t)+b\dot{x}(t)$: Does $\frac{\partial f}{\partial \dot{x}}=b$ and $\frac{\partial f}{\partial x}=a+b\frac{\partial}{\partial x}\frac{d}{dt}x(t)=a, \forall x(t)?$
In and of itself, the notation $\frac{\partial f}{\partial x}$ doesn't make sense. You take a partial derivative with respect to an index, that is, you just specify which "slot" in the function is being considered a variable. It makes no sense to take a partial derivative of a function with respect to another function. A better notation for partial derivatives is $D_1$ or $D_2$ and so on.
What's implicitly going on here is the following.
This corresponds to the idea of "pretending $x$ and $x'$ are variables". So for example, if $f(x, x')=ax+bx'$, what we really have is a two-variable function $f(u, v)=au+bv$, which we are composing with the two single variable functions $x(t)$ and $x'(t)$. To get $\frac{\partial f}{\partial x}$ we take $D_1f$, which is a two variable function $D_1f(u, v)=a$. We then compose that with $x'$ and $x$ to get $D_1f(x, x')$, which happens to still equal $a$, of course.