The value of the remaining card does not matter. Having three cards with the same value - for example, three queens. The value of the remaining two cards does not matter. When all five cards form a consecutive sequence having more than one suit - for example, having a three, a four, a five, a six, and a seven. When all five cards are of the same suit - for example, having the ace, three, five, nine, and queen of spades.
Sequence is irrelevant with an ordinary flush.
A hand which consists of three identical cards and a pair - for example, three queens and two threes. The value of the three identical cards and the pair of identical cards does not matter. Having four cards with the same value - for example, having four aces. The value of the remaining card is irrelevant. When all five cards of the same suit form a consecutive sequence - for example, a five, a six, a seven, an eight, and a nine of hearts.