The two ways of relating what a person has said are 1)direct and 2)indirect (reported speech).In direct speech, the original speaker's exact words are repeated. Direct speech is found in plays and quotations. In indirect/reported speech, the exact meaning is expressed but not necessarily using the original speaker's exact words. Pronouns and possessive adjectives usually change from first or second person to the third person except when the speaker is reporting his own words. Sometimes a noun can be inserted to avoid doubt.
Options A and B are correct as the given question is transformed to the assertive form, present perfect tense is changed to past perfect tense, and if/whether is used as the given question doesn't start with a question word.
Options C and D are wrong as 'that' cannot be used in the transformation and the tense is not changed respectively.
The correct answers are A)He asked me if I had any plans to go away again. and B)He asked me whether I had any plans to go away again.