One paving machine can surface 1 km of highway in 6 hours. Another can surface 1 km of highway in 8 hours. how long would it take to surface 1 km of highway with the two machines working together?