
We know that for making a triangle, we require three points, which are not on a line.
Here, we have total 3+5+6=14 points out of which 3,5,6 points respectively, on AB,BC and CA are collinear.
Thus, the total Number of triangles formed
=C314−C33−C35−C36
=3!⋅11!14!−3!⋅0!3!−3!⋅2!5!−3!⋅3!6!
=3×2×1×11!14×13×12×11!−1−3!×2×15×4×3!−3×2×1×3!6×5×4×3!
364−1−10−20=333.
Hence, total number of triangles is 333.