Answer:
17 hours and 3 hours.
Step-by-step explanation:
Let us assume that Annie travels x hours and Brian y hours.
Then given that x = 5y+2
Together they travelled = total hours of both = x+y
Substitute x = 5y+2 in the total distance.
We have an equation in a single variable y as
= 5y+y+2 = 20
Simplify to get
6y+2 = 20
subtract 2
6y = 18
Divide by 6
y =3
x =5y+2
= 5(3) +2=17 hours
Annie traveled 17 hours and Brian 5 hours.