You have to use the distance formula for lengths of XZ, ZY, and YX. Filling in the formula for the distance that they provided,
![XZ= √((5-(-6))^2+(8-2)^2)](https://img.qammunity.org/2019/formulas/mathematics/high-school/rh28elnwxnem8zltmpo8orhkc01ww911mf.png)
and
![XZ= √(11^2+6^2)](https://img.qammunity.org/2019/formulas/mathematics/high-school/pthxwgvblp9p9xjfaf8ds4gno4ggf5wl94.png)
which is
![XZ= √(157)](https://img.qammunity.org/2019/formulas/mathematics/high-school/dcohz1qvft88zqkoopdfxuntm328u6v3ul.png)
which, in decimal form is 12.5299. Now onto the next length, ZY:
![ZY= √((5-8)^2+(8-2)^2)](https://img.qammunity.org/2019/formulas/mathematics/high-school/6oiy5p29pm40tdm0f4m74q5lrpyjh3ojxu.png)
and
![ZY= √(3^2+6^2)](https://img.qammunity.org/2019/formulas/mathematics/high-school/j58hrjvl9xy7lofk8ua965eh3nmjq2xmuf.png)
which is
![ZY= √(45)](https://img.qammunity.org/2019/formulas/mathematics/high-school/n6uuox4ymw7pa85upfibnw8nf8r6jnyh9f.png)
which, in decimal form is 6.70820. Now onto the last segment, YX:
![YX= √((8-(-6))^2+(2-2)^2)](https://img.qammunity.org/2019/formulas/mathematics/high-school/2v2zmw2mx3bfj1x2he3ppyoxoxgj9utoqv.png)
and
![YX= √(14^2+0^2)](https://img.qammunity.org/2019/formulas/mathematics/high-school/pi1p3kgo8jg2nkt7766gvu0hutrtgylqdq.png)
and of course the square root of 14 squared is 14. So our sides lengths are, for the perimeter, 12.5299+6.70820+14=33.2 units.