AB=(2,4,2)-(1,5,-2)=(1,-1,4)
AC=(a,3,b+2)-(1,5,-2)=(a-1,-2,b+4)
则:
(a-1)/1=(-2)/(-1)=(b+4)/4
得:
a=3,b=4