Good morning,
rc = rate that the car is traveling
rt = rate that the truck is traveling
rc -20 = rt
set up an equation that compares the time traveled over the 350 km
distance/speed = time
350/(rc) + 2 = 350/rt this states the time for the car to go 350 km plus 2 equals the time for the truck
now substitute for rt
350/rc + 2 = 350/(rc -20)
the rest gets a bit tedious and there may be a faster way. Perhaps another tutor will add a quicker solution.
change the 2 to 2rc/rc so it can easily be added
350/rc + 2rc/rc = 350/(rc -20)
(350 + 2rc) / rc = 350/(rc-20)
cross multiply
(350 + 2rc)(rc -20) = 350 rc
350 rc -7000 + 2rc2 -40rc = 350rc
2rc2 -40rc -7000= 0
divide by 2
rc2 -20rc -3500 = 0
factor
(rc -70)(rc + 50) =0
rc =70 and disregard the other answer because speed cannot be negative in this problem
the speed of the car is 70 and the speed of the truck is 50