Dear Student,
In the above mentioned chemical reaction there are two equivalent of hydroxide ion (OH-) removed from Ca(OH)2 and in a similar way, two equivalent of hydrogen ion (H+) are removed from H3PO4.
Therefore the equivalent n-factor for ​Ca(OH)2 and H3PO4 will be 2.
Best Wishes !