A brief course in analytic geometry