Correct option is D
The correct indirect form of the given sentence is (d) You said that you had scored four goals.
Direct speech- Direct speech, also known as quoted speech or direct quotation, is a way of reporting someone's exact words.
Indirect speech- Indirect speech, also known as reported speech or indirect quotation, is a way of reporting someone's words or thoughts indirectly, without using their exact words.
In reported speech, the past simple tense 'scored' changes to the past perfect tense 'had scored.' Comma inverted comma will be replaced with conjunction “that”. The
first person in direct speech
changes as per the subject of the speech.