She demanded that I help him.

Literal

She [topic-は] I [subject-が] him [object-を] help [as-ように] demanded.

要求する ('to demand, to request firmly') sits a notch above 頼む ('to ask') in social weight — it signals a more forceful request, often with an air of expectation or right. The ~ように pattern marks the demanded action: 'demanded that I (would) help.' This is the standard way to embed an indirect command in formal Japanese. が marks the subject of the embedded clause (私), distinguishing it from the subject of the matrix verb (彼女).