Conditions in profile and membership
You don't mention which CMS you are using but if Drupal, you might find it easier to do this with a webform.

If you're not on Drupal and want to do this with profiles then take a look at the Profile Conditionals extension