Okay. So I really need to understand how to do this problem, because nowhere does it say anything in my text about finding the number of relations. Thanks.

Let A = {1,2,3,4,5} and B = {w,x,y,z}

How many relations that

(i) contain (1,w)?

(ii) do not contain (5,z)

(iii) contain (1,w) but not (5,z)