It takes a boat going upstream 3 hours to cover the same distance, as it would cover in 2 hours going downstream. What is the speed of the boat if the speed of the current is 3 kilometers per hour?