Rule 2. On the same tack, the windward boat gives way to the leeward boat
When two sailboats are approaching each other and are on the same tack, the leeward boat has the right-of-way over the windward boat. Another way to say this is that the boat closer to the wind source must keep clear. The boat further from the wind source has the right-of-way.