A vector in the required direction is (0, 0, 0) − (-1, -2, 1) or (1, 2, -1).
The unit vector in that direction is u equal to [1/√(12 + 22 + (-1)2] times (1, 2, -1) or [1/√6](1, 2, -1).
Take the gradient of f(x, y, z) as ∇f equal to {∂f/∂x, ∂f/∂y, ∂f/∂z}, here equal to {-10x, -4y, -8z}.
Now evaluate ∇f at (x, y, z) equal to (-1, -2, 1) to gain {-10(-1), -4(-2), -8(1)} or {10, 8, -8}.
From the above analysis, the directional derivative sought is ∇f • u or {10, 8, -8} • (1/√6, 2/√6, -1/√6)
or [10/√6 + 16/√6 + 8/√6] or 34/√6.