Syntax for IF

Syntax for IF

Hi

What is the syntax for an IF on two dropdown boxes?

Want to say IF Dropdown box 1 is "x" AND Dropdown box 2 is "y" then 
show field 1
hide field 2
but IF Dropdown box 1 is "a" AND Dropdown box 2 is "b" then
show field 2
hide field 1