velocity * time = distance
40 (miles / hour) * t (hours) = 60 (miles)
Take note how the units work. miles/hour * hours = miles. This is an indication that a formula we picked is correct.
Now, looking at our formula (and neglecting units at this point)
40t = 60
t = 60/40
t = 1.5 hours