Two adjacent angles of a parallelogram are (3x−4)∘ and (3x+16)∘. Find the value of x and hence find the measure of each of its angles.