6. (15%) Evaluate the following integrals:

$$(a) \int_0^\infty e^{-x} \sin x \, dx \quad (b) \int_0^1 \sin^{-1} x \, dx.$$