In order to find the relationship between the time derivatives of these variables, implicitly differentiate your equation with respect to time.