The usual formal greeting is a ‘How do you do?’ and a firm handshake, but with a lighter touch between men and woman is a greeting not a question and the correct response is to repeat ‘How do you do?’ You say did when shaking hand with someone. ‘How are you?’ is a question and the most common and polite response is ‘I am find thank you and you?’