Solution (source code)

= Solution

At $(1,2)$, the <gradient> is $(4,2)$. The requested direction must be normalized to the <unit vector> $(1,1)/\sqrt2$. The <directional derivative> is therefore
$$
\boxed{D_{(1,1)/\sqrt2}f(1,2)=\nabla f(1,2)\cdot\frac{(1,1)}{\sqrt2}=3\sqrt2.}
$$
Using $(1,1)$ without normalization would instead measure change per unit of a differently scaled path parameter.