Soliton Solutions of Deformed Nonlinear Schrödinger Equations Using Ansatz Method