From the given ordered pairs of
A×B we conclude that
A={1,2,3},B={4,6} Since A×B has six elements i.e. 3×2, A and B are as stated above.
∴A×B={(1,4),(1,6),(2,4),(2,6),(3,4),(3,6)}
By reversing the above ordered pairs, we get
B×A={(4,1),(6,1),(4,2),(6,2),(4,3)(6,3)}.
⇒a+b+c+d=18