I would like to check if I did this problem correctly so please confirm or correct my method.
There is a triangle ABC with 3 distinct points on side AB, 4 distinct points on side BC, and 5 distinct points on side AC.
What triangle looks like for reference: 
How many quadrilaterals can be formed from these points?
My method included counting 2 cases: the first being where 2 points were collinear and the other 2 points were on the two remaining sides, the second being where there were 2 points on one side and 2 points on another side, the third side not contributing any points.
This ended up being something like $$3\cdot4\cdot\binom{5}{2} + 3\cdot5\cdot\binom42 + 4\cdot5\cdot\binom32 + \binom32\cdot\binom42 + \binom32\cdot\binom52 + \binom42\cdot\binom52$$
I just want to know if this is a correct method for finding the solution.
Much appreciated!