Hey, don't strain your braincells trying to figure it out. Check out this website with links to 100 calculators.
However, I've never seen one for figuring out if Train A is going east at 60 mph and departed the station 30 minutes ago how many miles will it take Train B traveling west at 57.5 mph to meet it at Podunk Junction? And more importantly, who cares!?
Geez, how I loathed algebra. I never did grasp the concept of it or fathom the need for it. Geometry? I could handle that particular bit of math. I suppose because I could see the practicality of it.