Please help me i will give you brainlist

Here is your answer. In the first bracket it's your X1 and Y1 and second bracket it's your X2 and Y2