public class Point {
Point p1, p2;
int x, y;

public Point(int a, int b) {
this.x = a;
this.y = b;
}

public int getX() {