translate the point with x in horizontally and y vertically
x
y
Point translate(double x, double y) { return Point(this.x + x, this.y + y); }