please help me :) I’ll give you a cookie if you’ll answer it correctly.

Answer:
Hi there Imma explain this rq so I hope this makes sense
Answer for x is 36, and z=103
Step-by-step explanation:
Okay first, the angle that has 77 degrees on it equals the angle with the x equation on it. Knowing that, do 4x-67=77. I assume you know how to solve equations because it looks like your in geometry, but if not just respond to the comment and I'll help you out with that.
Second, z and the angle you just solved are on a line, so together they equal 180. Do 180-77 (which equals 103) (also, if you need help with this part lemme know and I'll elaborate further).
TaaaDaaa! know you know the x value (36) and z value (103)
Hey could you do me a favor and mark me brainiest if you think I helped you the most? :) Thanks!!!