public class Point { private int x; // x part of coordinate private int y; // y part of coordinate } /** * Constructor for objects of class point */ public Point (int xValue, int yValue) { x = xValue; y = yValue; set(x,y); } // set x in coordinate pair public void setX( int xValue ) { x = xValue; } // return x from coordinate pair public int getX() { return x; } // set y in coordinate pair public void setY( int yValue ) { y = yValue; } // return y from coordinate pair public int getY() { return y; } public double distance (Point p) { double dx = xValue()-p.xValue(), dy = yValue-p.yValue; return Math.sqrt (enter perimeter equations here)