This is too typical a type of problem. Same time, traveled in two opposite directions, a current present.
SPEED TIME DISTANCE
AGAINST r-c t a
WITH r+c t w
Everything is known except r and t.
------the basic equation to solve for the situation. You want to solve this for r.
Once that is done, remember the variable assignments.
Use those and evaluate r.