Answer:
AB = 7
AC = 21
Explanation:
Because AD is an angle bisector it divides the triangle into proportional parts. That is ...
AC/DC = AB/BD
(28 -AB)/9 = AB/3 . . . . use AC = 28 -AB
28 -AB = 3AB . . . . . . . . multiply by 9
28 = 4AB . . . . . . . . add AB
AB = 28/4 = 7 . . . . divide by 4
AC = 28 -7 = 21
The lengths AB and AC are 7 and 21, respectively.
_____
Additional comment
The triangle ABC cannot exist. The reason is that its side measures are 7, 12, and 21. The sum of 7 and 12 is not greater than 21, so the side measures do not satisfy the triangle inequality.
For the triangle to exist, the sum of AB and AC cannot exceed 24 for the given values of BD and DC.