Two methods for solving the inverse acoustic scattering problem