Galerkin Approximations Of General Delay Differential Equations With Multiple Discrete Or Distributed Delays