What is the value of X?

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