Exact solutions for a class of nonlinear evolution equations: A unified ansätze approach