Let the speed of the boat in still water be \( b \) km/hr, and the speed of the current be \( c \) km/hr.
Step 1: The effective speed upstream is \( b - c \) and downstream is \( b + c \). Using the time taken for each journey, we have the following equations: \[ \frac{16}{b - c} + \frac{24}{b + c} = 6 \quad \text{(Equation 1)} \] \[ \frac{12}{b - c} + \frac{36}{b + c} = 6 \quad \text{(Equation 2)} \]
Step 2: Solve these two equations simultaneously. After solving the system of equations, we find: \[ b = 8 \, \text{km/hr} \] Thus, the speed of the boat in still water is 8 km/hr.