Miyuki set the table for the party.

Literal

Miyuki [topic-は] party [for-のために] table [object-を] arranged.

テーブルを整えた — 整える means 'to arrange, to prepare.' のために marks the purpose. A simple past action.