Firstly , we can draw diagram
we are given that
XYZ is equilateral triangle
so,
XY=YZ=XZ=6
and when we draw a line from X intersect at mid point between Y and Z
It will also be perpendicular line
so, we can use Pythagoras theorem
[tex] 6^2=h^2+3^2 [/tex]
now, we can solve for h
[tex] h^2=27 [/tex]
[tex] h=3\sqrt{3} [/tex]
so,
[tex] XP=3\sqrt{3} [/tex]..............Answer