identify the legs in XYZ

There are 3 legs in triangle XYZ, labeled as XY, YZ, and XZ.