\vec{p} = (x_{P2} - x_{P1}, y_{P2} - y_{P1}) = (p_x, p_y)