but how to do it for 3 points?