IF or Case may be used as your calculation, but an even better method is to set up a related table with one record for each membership choice and then a "looked up value" field option to copy over the value. That way, if you change your dues amount in the future, you edit the records in this look up table instead of redefining a calculation field.
The calculation method could follow this format:
Case ( MemberShipChoice = "Primary" ; 40 ;
MembershipChoice = "Premium" ; 75 ;
MembershipChoice = "Superlative" ; 200