To solve that question we must remember that the sum of all internal angles of a triangle is 180°, we can say that
That's a rule! it's always true.
The problem says that
Then let's use it in our equation!
Now we can solve it for Z
Therefore the measure of Z is 125°