SET MULTIPLICATION
P = {Alice, Bob, Mary}
R = {Officer, Enlisted}
G = {Male, Female}
Cartesian product, set multiplication
PxRxG = {	{Alice,Officer,Male}, {Alice,Officer,Female},
{Alice,Enlisted,Male}, {Alice,Enlisted,Female},
{Bob,Officer,Male}, {Bob,Officer,Female},
{Bob,Enlisted,Male}, {Bob,Enlisted,Female},
{Mary,Officer,Male}, {Mary,Officer,Female},
{Mary,Enlisted,Male}, {Mary,Enlisted,Female}}

Diagram showing all combinations (which is what you get from set multiplication)

GRAPH

G = (V,E)
V = {Alice,Bob,Mary,Female,Male,Officer,Enlisted}
(Tuples because order is important! Only certain combinations possible)
E = { 	(Alice,Officer),
(Alice,Female),
(Mary,Female),
(Mary,Enlisted),
(Bob,Enlisted),
(Bob,Male) 
}