Sound wave X is represented on a distance–displacement graph with the distance between two consecutive compressions measured as 0.50m. Sound wave Y, drawn on the same scale, shows this separation as 0.20m. Both waves travel in the same medium. Which wave has the higher pitch? Give a brief reason.