The answers are A and B. Line AZ is the altitude. An altitude must be perpendicular to a side of the triangle. The only clear right angle in the diagram is angle ZAY, so AZ must be the altitude. Line BX is the median, which touches the midpoint of a side of the triangle. Note that ZB=BY, so B is the midpoint, and BX is the median.