B is the midpoint of line AC. AB = 5x and BC = 2x+3

B is the midpoint of line AC. AB = 5x and BC = 2x+3.
Find AB, BC, and AC?