We know that Distance = Rate x Time
In this case, D = 120Km, and T = 3hr
Let x = the slower speed, and x + 6 = the faster speed
Our equation becomes
120Km = 3 • x + 3(x + 6)
120Km = 3x + 3x + 18
102Km = 6x
and solving, x = 17km/hr
then x + 6 = 23Km/hr
Proof: 17km/hr • 3hr + 23Km/hr • 3hr = 51Km + 69Km = 120Km