The variable k translates the graph of the function vertically, if k is positive then the translation is up; is k is negative the translation is up. Similarly the variable h translates the graph of the function horizontally, if h is positive the translation is to the right whereas if h is negative the translation is to the left.