Get x1 y1 x2 y2 Coordinates of a line drawn on an Image

Only one of those is the nearby forEach line. The other one is not, and so shouldn’t be changed.