I NEED HELP I CANT FIGURE THIS OUT

Answer:
B
Step-by-step explanation:
Hi there!
We are given line segment DG, which equals 10.
Point O belongs to DG, which splits DG into DO and OG, which are parts of the line segment.
DO=x+1, and OG=2x-15
We want to find the value of x
There is a postulate in Geometry called the Parts Whole Postulate, which states that a whole is equal to the sum of its parts. In other words, DO + OG = DG
Now we can substitute x+1 as DO, 2x-15 as OG, and 10 as DG.
x+1+2x-15=10
Combine like terms.
3x-14=10
Add 14 to both sides
3x=24
x=8
The answer is B
Hope this helps!