Let the distance from the man’s home to the station be: \[ d \ \text{km} \] Let \( t \) (in hours) be the time of the train’s departure after he leaves home.
He arrives 10 minutes late (that is, \( \frac{1}{6} \) hour after the train departs). Thus: \[ t + \frac{1}{6} = \frac{d}{12} \]
He arrives 10 minutes early (that is, \( \frac{1}{6} \) hour before the train departs). Thus: \[ t - \frac{1}{6} = \frac{d}{15} \]
We now have: \[ \begin{cases} t + \frac{1}{6} = \frac{d}{12} \quad (1) \\ t - \frac{1}{6} = \frac{d}{15} \quad (2) \end{cases} \]
\[ \left(t + \frac{1}{6}\right) - \left(t - \frac{1}{6}\right) = \frac{d}{12} - \frac{d}{15} \] \[ \frac{1}{3} = \frac{5d - 4d}{60} \] \[ \frac{1}{3} = \frac{d}{60} \]
Multiply through by 60: \[ 20 = d \]
\[ \boxed{\text{The distance is 20 km.}} \]