Past Simple Questions Formation
Step 1: Identify the main verb

They sang songs.

Step 2: Add 'did' and change verb to base form

Did they sing songs?

Formula:

Did + Subject + Base Verb (V1) + Rest?

Statement Question
He wrote a letter. Did he write a letter?
They had dinner. Did they have dinner?
She ran fast. Did she run fast?