General solution of a separable equation