When the local minimum value of the function $f ( x ) = ( x - 1 ) ^ { 2 } ( x - 4 ) + a$ is 10, find the value of the constant $a$. [3 points]