Constraints and Soliton Solutions for the KdV Hierarchy and AKNS Hierarchy