What do you like doing?
Was machst du gern? means “What do you like doing?” in English.
Was machst du gern in deiner Freizeit?
What do you like doing in your free time?
Was machst du gern am Wochenende?
What do you like doing at the weekend?
Ich koche gern. Und was machst du gern?
I like cooking. And what do you like doing?