find z and x please

Answer:
x = 20
X was found using the Pythagorean theorem
Step-by-step explanation: