exercise 2-2 2d-point