Points: 4 on AB, 5 on BC, 4 on AC. For a valid pentagon, no 3 vertices can be collinear, so at most 2 points from each side.
Only valid distribution (a,b,c) with a+b+c=5 and each ≤2 is permutations of (1,2,2):
(1,2,2): (14)(25)(24)=4⋅10⋅6=240
(2,1,2): (24)(15)(24)=6⋅5⋅6=180
(2,2,1): (24)(25)(14)=6⋅10⋅4=240
Total =240+180+240=660.