There is the following system of four equations and four endogenous variables $(K,L,w,q)$. Assume $F$ is a concave function.
$\partial F(K,L)/\partial K = r + (1-p)$
$\partial F(K,L)/\partial L = w$
$F(K,L)-rK-wL-q-(1-p)K = 0$
$v(w,p)=\bar{v}$
It seems to linearize the system around the equilibrium values to get $\frac{\partial K}{\partial p}$ and $\frac{\partial L}{\partial p}$ and it seems that these equations become
$\frac{\partial K}{\partial p} = \frac{-F_{LL}-F_{KL}\partial w/\partial p}{(F_{KK}F_{LL}-F^2_{KL})}$
$\frac{\partial L}{\partial p} = \frac{F_{KK}\partial w/\partial p + F_{KL}}{(F_{KK}F_{LL}-F^2_{KL})}$
I tried to Taylar expansion but I could not get these equations. How do we get these last equations? These equations are from p.85 Kousky et al. (2006)