The mouse and the cat (RO)

A cat runs at a speed of v1 = 5m/s, trying to catch a mouse, her movement being represented by the function f(t) = vt, t>0; knowing that the mouse moves at speed v2 = 3m/s and it is at d = 10m in front of cat and that its movement is expressed by the function g(t)= vt+d0 , t>0, calculate: a) How long does the cat catch the mouse?   b) What distance will the cat go before catching the mouse? c) How long does the mouse go 19 meters?