To evaluate the expression \( km + \frac{8}{m} \) for \( k = 6 \) and \( m = 2 \), we will substitute the values of \( k \) and \( m \) into the expression.
Starting with the expression:
\[ km + \frac{8}{m} \]
Substituting \( k = 6 \) and \( m = 2 \):
\[ 6 \cdot 2 + \frac{8}{2} \]
Now calculate \( 6 \cdot 2 \):
\[ 6 \cdot 2 = 12 \]
Next, calculate \( \frac{8}{2} \):
\[ \frac{8}{2} = 4 \]
Now, substitute these values back into the expression:
\[ 12 + 4 \]
Finally, add the results together:
\[ 12 + 4 = 16 \]
Thus, the simplified answer is:
\[ \boxed{16} \]