I was hoping someone could help me express this problem as a system of congruences: 3 trucks carrying deliveries for the same destination leave the warehouse at 5pm. Each truck travels between 5am and 5pm each day, and the drivers rest for the rest of the time. The first one to arrive is truck A, a few days later truck B arrives, and a few days later still truck C arrives. Truck A traveled 30km a day and reached its destination at 5pm, truck B traveled 24km a day (24/12 km/hour) and reached its destination at 2pm. Finally, truck C traveled 18km a day (18/12km hour) and reached its destination at 9am. What is the minimum distance between the warehouse and the trucks' destination?
I was confident that the system would be: mod(d,30)=0; mod(d,24)=9; mod(d,18)=4;
but I assume this can't be the case because the problem is presented as being solvable by the Chinese Remainder Theorem, and since 30,24, and 18 aren't coprime, and the condition for applying the theorem for non-comprime divisors isn't fulfilled, it doesn't seem to me that this system can be solved in that way.
Please do forgive me if I missed something obvious, and I appreciate any help you can provide. Thanks!