The distance between them expands at their combined rates of speed, which is 45+40 = 85 mph.
D=rt
D=510, r=85mph, t is what we want to find.
510=85t
510/85=t
6=t
If you need help understanding math so you can solve these problems yourself, then one on one online tutoring is the answer ($30/hr). If you need faster solutions with guaranteed detailed answers, then go with personal problem solving ($3.50-$5.50 per problem). Contact me at fcabanski@hotmail.com