Find the other end point of a line with given one end and mid
Given a midpoint of line(m1, m2) and one coordinate of a line (x1, y1), find the other end point(x2, y2) of a line. Examples: Input : x1 = â1, y1 = 2, and m1 = 3, m2 = â6 Output : x2 = 7, y2 = 10 Input : x1 = 6.4, y1 = 3 and m1 = â10.7, m2 = 4 Output : x2 = 3, y2 = 4 The Midpoint Formula: The midpoi