Explanation:
B lies between A and C. It means, sum of lengths of AB and BC gives length of AC.
=> AB + BC = AC
Substituting the values of AB, BC and AC given in the question,
=> 7x - 5 + 3x + 12 = 37
Compute like terms,
=> 10x + 7 = 37
Subtracting 7 from both sides for isolating the term containing x,
=> 10x = 30
Dividing 10 both sides,
=> x = 30/10 = 3
The required values of AB, BC and AC are:
- AB = 7(3) - 5 = 16
- BC = 3(3) + 12 = 21
- AC = 37