Question 292592
This problem has been solved many times here.
Here is one solution
http://www.algebra.com/algebra/homework/word/travel/Travel_Word_Problems.faq.question.148702.html