A novel study of the nonlinear Kadomtsev–Petviashvili-modified equal width equation describing the behavior of solitons