symmetric-point

Given two points A and B, output the symmetric point of point A about B.

Input Format 

The first line contains an integer T representing the number of testcases 
Each test case is a line containing four space separated integers Px Py Qx Qy representing the (x,y) coordinates of A and B.

Output Format 

For each test case output x and y coordinates of the symmetric point (each point in a new line).

Constraints 

1⩽T⩽15 

−100⩽x,y⩽100

SAMPLE INPUT
2
0 0 1 1
1 1 2 2

SAMPLE OUTPUT
2 2
3 3

Source: hackerearth | Difficulty: EASY


Solutions: