Analytic geometry : two and three dimensions