TeX source:
\begin{array}{rcl}g'_{kh}(h,k) &=& -135\sin\left(h^2-k\right)\cdot 2h\\&=& -270h\sin\left(h^2-k\right)\end{array}