A red ant is sitting on one side of a table (point X) and a black ant is sitting on the opposite side of the table (point Y). Now both of them decides to exchange their places and starts crawling. On the way, both of the ants meet and after that, it takes 20 seconds for the Red ant to move to point Y and it takes 5 seconds for the Black ant to reach point X.
Find out the total time taken by the Red and the Black ant to make the journey.
Choose the correct choice from the following answers.
A) 30 and 15 seconds
B) 10 and 15 seconds
C) 20 and 15 seconds
D) 25 and 15 seconds
E) 5 and 15 seconds
Solution:   Let the speed of red ant be R.   Speed of Black ant be B.   Time at which they cross their paths be T.   Now we will apply the basic formula of distance   Distance = Speed * Time   The Red ant travels R * T distance before meeting and R * 20 after meeting.   The Black ant travels B * T distance before meeting and B * 5 after meeting.   Now as per the question,   The distance traveled by red ant before they both meet will be equal to the distance covered by black ant after they meet. We can say the same for the vice versa case as well.   Thus   R * T = B * 5 and B * T = R * 20   Using both the quations   T = 10   Thus the red ant will require 10 + 20= 
<gadget id="calculator">10 + 20</gadget>
<output>30</output>
30 seconds to travel the distance.   And the black ant will take  10 + 5= 
<gadget id="calculator"> 10 + 5</gadget>
<output>15</output>
15 seconds to travel the distance.   30 and 15 secondsnswer 30 and 15 seconds
<result>A</result>
A red ant is sitting on one side of a table (point X) and a black ant is sitting on the opposite side of the table (point Y). Now both of them decides to exchange their places and starts crawling. On the way, both of the ants meet and after that, it takes 20 seconds for the Red ant to move to point Y and it takes 5 seconds for the Black ant to reach point X.
Find out the total time taken by the Red and the Black ant to make the journey.