The ideal gas law states that for a given quantity of confined gas in a container, the pressure P, volume V and temp T satisfy an equation $P=kT/V$, where k is a positive constant. Show that:
$$V \frac{\partial P}{\partial V} = -P$$
and
$$V \frac{\partial P}{\partial V}+T\frac{\partial P}{\partial T} = 0.$$
I would appreciate anyones explanation to the two parts of this question, after many tries the closest I can come to is =P for the first part and cannot find my mistake.