Given $f(x,y)=g(3x+6y)$ and suppose $g'(15)=2$, then I would like to take the directional derivative at the point $(1,2)$ and in the direction of $u=\left(\frac12,\frac{\sqrt{3}}{2}\right)$.
Normally this would not be a problem but I can not see through what is going on in the function $f$. How am I supposed to interpret it?
By the chain rule $$\frac{\partial f}{\partial x}(x,y)=\frac{dg}{dt}(3x+6y)\frac{\partial(3x+6y)}{\partial x}$$ and $$\frac{\partial f}{\partial y}(x,y)=\frac{dg}{dt}(3x+6y)\frac{\partial(3x+6y)}{\partial y}$$ Hence $$\nabla f(1,2)=\Big(3g'(15),6g'(15) \Big)=(6,12)$$
The partial derivatives above are calculated with respect to the standard basis of $\Bbb R^2$. The partial derivative along the direction $u=(\frac12,\frac{\sqrt{3}}{2})$ is given by $$\frac{\partial f}{\partial u}(1,2)=\langle \nabla f(1,2), u\rangle=3+6\sqrt{3}$$