We are lacking initial conditions and required information.
Two trains race toward each other on a railway segment that’s 100 miles long. The trains are
traveling at 100 mph
OK, but at what position on this 100 mile segment is each train at the beginning of this scenario? i.e. How far apart are the trains initially? And at what height is this distance measured? Also, is the track level? Also, is the track straight or curved? (if curved in any dimension, please specify in detail)
A mosquito flying at 200 mph flies from one train toward the other,
and as soon as it arrives at the other train, it flips its direction and flies back toward the first
train. The mosquito continues bouncing back and forth between the trains until the trains
crash.
OK, but are the trains flat fronted or streamlined (and on what curve)? Similarly, what is the initial altitude of the mosquito? Does it remain constant? If the track is not straight, does the mosquito follow it or fly as the crow?
This is not a simple question at all.