Explicit Solution Formulas for the Acoustic Diffraction Problem with a Slit in a Hard and a Soft Screen