Find the value of x if A, B, and C are collinear points and B is between A and C.
AB=12,BC=5x−2,AC=3x+20
A. 2
B. 7
C. 6
D. 5