A train approaches a tunnel AB. Inside AB a cat is sleeping at point C. The train and the cat are at equal distances from A. Also, point B is at 50% more distance from the cat than point A. When the train (located at D) whistles, the cat runs. If the cat runs towards B, the train passes it exactly at B. Find the ratio of the speed of the train and cat.