Radius of circle = 10 miles and the circumference is 20pi
now speed of B is 2 mph. so in 10 hr it will cover 20 miles which is short of circumference by a distance of 20pi-20
At this point when B has already traveled for 10 hr , A starts in anticlockwise direction
Distance between A and B = 20pi-20
since two cars are traveling towards each other and assuming that both A and B meets after t hr
we can write the equation as 2t+3t = 20(pi-1)
t = 4pi-4
now consider the second condition - distance between A and B is 12 miles
Two cars are travelling away from each other and equivalent distance between them should be 12 miles
assume t is time in which two cars travel from each other for 12 miles
2t+3t = 12
t = 2.4 hr
Total time for which B was traveling = 10+4pi-4+2.4 = 4pi+8.4
answer is B
I actually made a mistake in this question because I did not add the initial 10 hr into total time
Also remember whether cars are moving towards each other to part away by some distance or they are moving towards each other to meet somewhere in between, in both cases we will have to add the distance covered by individuals
Be cognizant of adding intial 10 hrs
Hope this helps !