If a candidate does not secure the required quota in the first phase, the ballots of the candidate with the least first preference votes are cancelled, and their second preference votes are transferred to other candidates. This process continues until a candidate secures the required quota.