If n(A) = p and n(B) = q, then how many relations are there from A to B.
2pq
The number of relations from a set A with m elements to a set B with n elements is given by 2mn
So given n(A) = p and n(B) = q
Then 2pq relations are defined from A to B.