Create a new Point where x and y values are scaled by the respective values in other.
other
Point<double> scaleBy(Point<num> other) { return Point<double>(x * other.x, y * other.y); }