Two bugs are running back and forth along a straight branch at constant speeds
without stopping. They start from opposite ends of the branch at the same time
and meet for the first time 40cm from one end of the branch. They continue to the
ends and return, meeting for the second time 20 cm from the other end of the
branch. How long is the branch?