After sailing 16 mi, a sailor changed direction and increased the boat's speed by 4 mph. An additional 12 mi was sailed at the increased speed. The total sailing time was 3 h. Find the rate of the boat for the first 16 mi.