Solving neutral delay differential equations with state-dependent delays