For quick reference, let me copy these diagrams here:
Source: How do Japanese rules handle this? • Life In 19x19