Something like this will work for a double-hung window like yours. Weather stripping will help make a seal. Also there is a seal on the top edge of that window that should be sealed to prevent smoke from coming back in. For that, tape or better, something like this could be stuffed in the gap.
A search for “window venting” will give you more results.
3 Likes