How is coordinate geometry used in real life?