Logic is simple
AND-Multiplication( (4C1)(4C1)/(52C2) and sorry for my mistake ans is 16/1326 only)
OR-Addition
Given in question (king and queen)