She was lying on the sofa with her eyes closed.

Literal

She [topic-は] eyes [object-を] closed sofa [on-に] was-lying.

目を閉じて ('with eyes closed') provides the manner using te-form. ソファーに横になっていた ('was lying on the sofa') uses 横になる ('to lie down') in past progressive.