If f is 1-1 then the cardinality of the set A can not be greater than the cardinality of the set B which is 5.
If f is onto then the cardinality of A can not be smaller than the cardinality of the set B which 5.
If f is a bijection then the cardinality of the set A must be the same as the cardinality of the set B which is 5.