The first train can pass a way in 12 hours, and the second for 8 through how many they will meet if help to go with one direction please a task for tomorrow

Probably not in one direction, and towards each other. x - distance the v1=x/12-speed of the first the v2=x/8-speed of the second x / 12+ h/8=5kh/24 - the general speed at the movement towards each other - gt; they will meet through x / (5kh/24) =24/5=4.8 hours
Answer add