What is the value of X?

What Is The Value Of X class=

Answer :

i think the answer is 8

bc the small one is 4 and the big one is 6

and the other one is 6 so it must be 8