Let the track length be 10x. When they meet at 10am, ant A travelled 6x of the distance and ant B travelled 4x of the distance. Therefore, ‌
‌ Speed of ant ‌A
‌ Speed of ant ‌A
=‌
6x
4x
=‌
3
2
And, the ratio of time taken by A and B to cover the same distance =‌
2
3
The distance by ant A from meeting point to point P was 4x. Similarly, the distance covered by ant B from meeting point to point P was 6x. Given, ant A took 12 min to reach P. Therefore, to cover a distance of 4x, time taken by ant B=‌
3
2
×12=18 min. But, ant B has to cover a total of 6x distance. Hence, the time required =‌
6x
4x
×18=27min. Therefore, ant B reaches P at 10:27am.