If the points A(6,1),B(8,2),C(9,4),D(p,3)are the vertices of parallelogram taken in order find the value of p.