In the triangle XYZ , XM is the altitude from X to YZ.XY = 13cm,…