If you're asking about these things, I suppose you're not very familiar with directional derivatives and/or gradients. If your problem comes from a textbook or is part of one of your homework assignments, then these concepts are certainly explained in some of your material. If not, see

Directional derivative - Wikipedia, the free encyclopedia

Gradient - Wikipedia, the free encyclopedia