First off - this is not homework, this is voluntary work to get ready for a test I'm having in a week.
"A motorcyclist is in a city A, and he is able to go to a city B in 3 hours. Another motorcyclist is in city B, and he is able to get to a city A in 2 hours. They both leave the towns at the same time. When will they meet?"
I was able to solve such exercises before, but now I'm having trouble with it. I've tried taking a random number and calculating the times, but obviously the answer was wrong.
Can you show us what you tried? It's impossible to see where the trouble is otherwise.