\[ \frac{1}{8} \]
\[ \frac{1}{10} \]
\[ \frac{1}{8} + \frac{1}{10} = \frac{5}{40} + \frac{4}{40} = \frac{9}{40} \]
\[ \text{Time} = \frac{1}{\frac{9}{40}} = \frac{40}{9} \]
Thus, working together, Baban and Mahendra will complete the job in \(\frac{40}{9}\) hours.