Question 807984
let B's speed be x
A's speed = 2x

they are moving away from each other

combined speed = 3x

d/r = t

30/3x= 2

6x=30
x=5

their speed are 5 & 10km/h