B is the midpoint of.

AB=5x+2
AC=12x-2
What is the value of BC?

If AB=1/2 AC then

2(5x+2)=12x-2

which solves quickly for x. Then BC=AB=5x+2