Since these triangles are similar, we can express the ratios of their sides like this:
By taking the first two ratios replacing the known values and then solving for YZ, we get:
The length of NZ is the length of YZ minus the length of YN:
NZ=YZ-YN=6-3=3
Then, NZ equals 3
By taking the last two ratios we can calculate XZ, like this:
Then, XZ equals 12