Each DE in Problems 1−14 is homogeneous. In Problems 1-10 solve the given differential equation by using an appropriate substitution.
1. (x−y)dx+xdy=0
2. (x+y)dx+xdy=0