Let's call the number of hours of labor required to replace the water pump as "x".
The total cost of the water pump and labor was $668, so we can write an equation:
$490 + $89x = $668
Now we can solve for x by subtracting $490 from both sides:
$89x = $668 - $490
$89x = $178
And finally, dividing both sides by $89:
x = $178 / $89
x = 2 hours
So, 2 hours of labor were required to replace the water pump.