New extended direct algebraic method for the resonant nonlinear Schrödinger equation with Kerr law nonlinearity