If \((x, 2)\), \((3, y)\), \((7, 2)\) and \((9, 4)\) are the vertices of a parallelogram taken in order, then find the value of \(x\) and \(y\).