She helped her mother take care of the baby.

Literal

She [topic-は] mother [subject-が] baby's care [object-を] do [object-を] helped.

のを手伝った uses the nominalizer の to turn 赤ん坊の世話をする into a noun clause that serves as the object of 手伝う. The mother is marked with が as the embedded subject.