This is very easy. It's just replacing of variables and constants by new variables and constants, and the chain rule, of course. For example, $${dx\over d\tau}={1\over K}\>{dH\over d\tau}={1\over K}\>{dH/dt\over d\tau/dt}={1\over Kr}\>{dH\over dt}=\ldots\quad.$$ Now plug in the right side from your first equation, and express everything in terms of the new variables/constants. Same thing with the second equation.