(b) If intensity of $X$-ray is decreased by $dl,$ when it passes through a length $dx$ of absorbing material then, the amount of observed intensity is $\mu I\ dx$
Thus,$\ - dI = \mu I\ dx\ $ or $\frac{dI}{dx} + \mu I = 0$
On solving this equation $I = I_{0}e^{- \mu x} = I_{0}e^{- \mu d}\ \ \lbrack x = d\rbrack$