Consider the figure,
So, we have, Two angles are called complementary when their measures add to 90 degrees. Two angles are called supplementary when their measures add up to 180 degrees.
So, here,
Therefore, z can be calculated as,
Now, the angles DHC and