It is necessary to use combinatorics for such calculations, namely the number of combinations.
For example, for the case when we have two suited pocket cards, the probability that on the flop will be a flush draw:
P = C (2, 11) * C (1, 39) / C (3, 50) = 55*39/19600 = 0.1094 or 10.94%