I have a function $f(x,y)$ of two variables. I also have the relationship $x = a + by$.
So, I can also write the function as $f(a+by, y)$.
I want to maximize this function in $y$. So I need to take the derivative and set it equal to zero, so that I can get my first-order condition.
But I am unsure how to do it in this case? Is there a general term for the derivative of $f(a + by, y)$ with respect to $y$?
If above does not have a general answer, does it help that $f(x,y)$ is additive, i.e. $f(x,y) = g(x) + h(y)$?