A three-level PAM system is used to transmit the output of a memoryless equally-likely ternary source whose rate is 2000 symbols/sec. The signal constellation is shown below. Determine (a) the input to the detector, (b) the optimum threshold (to be compared with the detector input) that minimizes the average probability of error, and (c) the average probability of error.