From the diagram, find the value of x in the diagram.