Treatment of the emission and absorption spectra of a general formalism Λ-type three-level atom driven by a two-mode field with nonlinearities