1.5 hours
To find how long it took for them to travel 12km, subtract 8 from 12. (4)
If it took them 1 hour to travel 8km and 4 is half of 8, then it would have took them 1 and a half hours to travel the 12km.
If you need a larger explanation, please let me know :)
Hope this helps!
Need anything else?