Calculate the value of x in the diagram above