Answer: x = 6
=================================================
Step-by-step explanation:
The picture is shown below of what's going on.
The location of point C isn't really important. What is important is the idea that if BC = 3x-8, then AB is also this length as well. The midpoint B cuts segment AC into two equal pieces AB and BC. So that's why AB = BC.
Let's find the distance from A to B
We'll use the aptly named distance formula to get this done (the pythagorean theorem is an alternative route you can take)
Therefore, segment AB is 10 units long. Segment BC is also 10 units long.
From here, we can say this:
BC = 3x-8
3x-8 = BC
3x-8 = 10
3x = 10+8
3x = 18
x = 18/3
x = 6 which is the final answer
Throughout this whole process, we never needed to know the location of point C. However, if you're curious about how to find it, then you basically would apply the midpoint formula in reverse.