First order equations and linear second order differential equations with constant coefficients