The solution by descent of certain partial differential equations on the sphere and lobachevsky plane