Given:
ABCD is a parallelogram, A(-3,-1), B(1,4), C(4,-1).
To find:
The x-coordinate of point D.
Solution:
Let the point D be (x,y).
We know that the diagonals of a parallelogram bisect each other. So, third midpoints are same.
Midpoint formula:

In parallelogram ABCD, AC and BD are two diagonals.
Midpoint of AC = Midpoint of BD



On comparing both sides, we get




Similarly,




The coordinates of point D are (0,-6).
Therefore, the x-coordinate of point D is 0.