For triangle MNP shown, find the value of x and the measure of each of the three angles.