What is the value of x? Show work.

Answer:
x=5
Step-by-step explanation:
This is because the inscribed angle of the circle or angle EFG is equal to the twice of the degree of the arc EG. Therefore, we can create this equation:
12+40=2(8x+10)
12+40=16x+20
20=4x
x=5