Determine the value of m in the diagram