How to Read a WWI Map Reference Number

The diagram below represents the grid on a typical World War I map at a scale of 1:40,000. It is divided into 24 lettered squares labelled A to X.