Step 1 :Define a function, $h$, that expresses Krystal's varying salary at Company B in terms of the varying number of years, $n$, since she accepted the position.
Step 2 :The starting salary at Company B is $49,000 and she gets a raise of $1,715 at the end of each year. This means that her salary increases linearly with the number of years she works at the company.
Step 3 :Therefore, the function should be of the form $h(n) = a + b*n$, where $a$ is the starting salary and $b$ is the annual raise.
Step 4 :The function that expresses Krystal's varying salary at Company B in terms of the varying number of years, $n$, since she accepted the position is $h(n)=49000+1715 n$
Step 5 :\(\boxed{h(n)=49000+1715 n}\)