There are two insects on a tile. Insect X is sitting on one side of the tile (point A) and Insect Y is sitting opposite on the other side of the tile (point B). Now both of them decide to change their position and thus X starts crawling to point B and Y starts crawling to point A. When they meet and pass each other in between, X takes 20 seconds to reach B and Y takes just 5 seconds to reach A.
Can you calculate the total time each of the insects took to change their positions?
People are waiting in line to board a 100-seat aeroplane. Steve is the first person in the line. He gets on the plane but suddenly can't remember what his seat number is, so he picks a seat at random. After that, each person who gets on the plane sits in their assigned seat if it's available, otherwise, they will choose an open seat at random to sit in. The flight is full and you are last in line. What is the probability that you get to sit in your assigned seat?