A ship traveled halfway to its destinationat 18 knots (nautical miles per hour)and then increased its speed to 22 knotsfor the rest of the voyage. If the sec-ond half of the trip was completed in 2hours less, how far did it travel at 18knots? How far was the voyage?