Zwei Fliegen mit einer Klappe schlagen
to solve two things with one action
Literally: to swat two flies with one swat
Meaning: to solve two things with one action
Example: Wenn ich einkaufe und Oma besuche, schlage ich zwei Fliegen mit einer Klappe.
Shopping and visiting Grandma, I kill two birds with one stone.