The correct option is B) My friend Ashira asked, “Do you know what the homework assignment is for tonight?”
According to capitalization rules in sentences, the first letter should be capitalized when starting a sentence and also when including a quotation.
In this example, the correct option is number two because it starts with capital letter at the beginning of the sentence (My) and also because the first letter of the quotation is capitalized (Do).
The rest of the options do not fulfil these two rules of capitalization.