Let A and B be to sets. Show that the sets A×B and B×A have an element in common iff the sets A and B have an element in common.