Two points in the (x, y) plane are a distance of 5 units apart. After a certain transformation is applied to both points, the two new points are 10 units apart. What was the transformation?