Create new CustomPoint where x and y are scaled by point values
CustomPoint
point
CustomPoint scaleBy(CustomPoint point) { return CustomPoint(x * point.x, y * point.y); }