TeX source:
\begin{array}{rcl}f'_z(x,y,z) &=& 3ab^2x+8aby-0\\&=& ab\left(3bx+8y\right)\end{array}