How is a three-phrase ending calculated?
Count the units to be filled: the number of cycles multiplied by the beats and the nadai, less any late start, plus any beats the landing falls after sam. Three phrases and two gaps must equal that total: 3 × phrase + 2 × gap = total. The landing note comes on the very next unit.