Unifying Resonant Solutions of KdV-Type Equations