Notice that the irregular polygon has 6 sides. Then, we can use the formula for calculating the sum of interior angles:

in this case,n = 6, then:

now that we have that the sum of the interior angles equals 720 degrees, we can find the value of angle x:

therefore, the measure of angle x is 125 degrees