In the diagram, ∠ZWZY and WYX are right angles. Find the perimeter of WXYZ.