First Order Differential Equations Involving Substitutions