Looks like they used the Chain Rule:
My textbook, Advanced Macroeconomics (Romer), introduces a function , which can be written and is often shortened to . It then suggests that .
But how can they take the partial with respect to K if they don't specify the actual function? They say what the function depends on, but not what the actual function is. What is happening here?