How to find the position between two UDIM2 positions

After trying with

UDim2.new(
(NextPoint.X.Scale - Point.X.Scale) / 2,
(NextPoint.X.Offset- Point.X.Offset) / 2,
(NextPoint.Y.Scale - Point.Y.Scale) / 2,
(NextPoint.Y.Offset- Point.Y.Offset) / 2)

and it worked!