Explanation doubt

At 8:16 , why we are not considering second 5?
Becauuse ine number can be part of 2 AP if possible?