If \[ f(x) = \begin{vmatrix} x & x^2 & x^3 \\ 1 & 2x & 3x^2 \\ 0 & 2 & 6x \end{vmatrix}, \] then \[ f'(x) \] is equal to: