we have 3 coordinate points of 3 corners of specific rectangular fine the other point you cant use array. Input : in first 3 line we have $$$x_i , y_i$$$ of i-th point. Output : print $$$x-4 , y_4$$$.
example : input 1 2 3 5 3 2 output 1 5
input 11 26 -2 7 5 5 output 4 28