Đường thẳng $AB$ đi qua $A(-3;0)$ nhận [tex]\overrightarrow{AB}=(1;1)[/tex] làm vtcp -> nhận [tex]\overrightarrow{n}=(1;-1)[/tex] làm vtpt
[tex]AB:1(x+3)-1(y-0)=0\\\Leftrightarrow x-y+3=0[/tex]
[tex]CH=d_{(C;AB)}=\frac{\left |1-0+3 \right |}{\sqrt{1^2+(-1)^2}}=2\sqrt{2}[/tex]