To be in 2NF every non key attribute must depend on

Key

Composite key

Both a and b

All parts of the key