What is the value of x?

Answer:
The value of x is 5
Step-by-step explanation:
Using the linear pair theorem, both angles are supplementary and add up to 180 degrees. 180 minus 140 is 40. and 8 times 5 = 40. So x = 5.