SMS: Elementary coordinate geometry