Algebra and geometry in Descartes