In triangle ABC, angle A is twice angle C, side BC is 2 units longer than side AB, and AC = 5. Find the length of AB.
Hint
we get 180-3angle A=AngleB
and
AB=BC-2