This is basic maths but I'm just not seeing the connection here. How is 2-3 equation derived?
$$e^{-\gamma(c_{t-1}+K_{t-1}+\nu_{t})}=E_te^{-\gamma(c_{t-1}+K_{t-1}+\nu_{t}+K_t+\nu_{t+1})}$$
$$e^{\gamma K_t}=E_te^{\gamma\nu_{t+1} }$$ $$K_t=\frac{1}{\gamma}log(E_te^{\gamma\nu_{t+1}})$$
Remember $e^{-m}e^{+m}=e^{-m+m}=e^0=1$.
Multiply (1) with $e^{+\gamma(c_{t-1}+K_{t-1}+\nu_{t})} $ on both sides:
$$e^{-\gamma(c_{t-1}+K_{t-1}+\nu_{t})} e^{+\gamma(c_{t-1}+K_{t-1}+\nu_{t})} =E_te^{-\gamma(c_{t-1}+K_{t-1}+\nu_{t}+K_t+\nu_{t+1})} e^{+\gamma(c_{t-1}+K_{t-1}+\nu_{t})} $$
$$e^{\gamma K_t}=E_te^{\gamma\nu_{t+1} } \tag 2$$
Again, from the rules of logarithm:
$\log a^m=m\log a, \log e =1$
Take logarithm with both sides of (2):
We get $${\gamma K_t}\log e =\log (E_te^{\gamma\nu_{t+1} })$$ $$K_t=\frac{1}{\gamma}log(E_te^{\gamma\nu_{t+1}})\tag 3$$