Explanation:
speed = distance/time
so,
distance = speed × time
and
time = distance / speed = distance / distance/time
therefore,
T = 100/b + 200/c
as we have first 100 miles with the speed b, and the rest of the 300 miles trip is 300-100 = 200 miles with the speed c.