In sample X no impurity level is seen, so it is undoped. In sample Y impurity energy level lies below the conduction bond so it is doped with fifth group impurity. In sample Z, impurity energy level lies above the valence band so it is doped with third group impurity.