Answer:
z = 8
Step-by-step explanation:
All angles inside a triangle add up to 180 so:
90 + 40 + 5z + 10 = 180
5z + 140 = 180
5z = 40