What is the value of X

The answer would be 6 I belive make sure to double check it