Final answer:
The subject of the sentence is the pronoun 'I'.
Step-by-step explanation:
The subject of the sentence 'wanted to do my homework alone' is the pronoun 'I'. It is the subject of the sentence because the sentence is talking about what 'I' wanted to do. The pronoun 'I' is in the first person singular form and represents the speaker or the person talking in the sentence.
Learn more about subject of a sentence