Answer
See below.
Work Step by Step
The deviation is the difference of the data item and the mean.
a) Hence here the deviations: $3-12=-9,5-12=-7,7-12=-5,12-12=0, 18-12=6, 27-12=15$
b) The sums of the deviations: $-9+(-7)+(-5)+6+15=0$
You can help us out by revising, improving and updating this answer.
Update this answerAfter you claim an answer you’ll have 24 hours to send in a draft. An editor will review the submission and either publish your submission or provide feedback.