The contents of the third figure in each row (and column) are determined by the contents of the first two figures. Lines are carried forward from the first two figures to the third one, except where two lines appear in the same position, in which they are cancelled out.