If B is between A and C, AB=6x, BC=8x and AC=42, what is the value of x?

6x + 8x = 42

Solve for x.