Help! Have new double headlights and no idea of the connections?

Hello, am the newest one here in the forum, but read it for quite a while and find it great. I read some reports about double headlights and thought “I’m already good” but now the things are in front of me and I don’t know what to do. So installation will somehow work out but connections I don’t have a plan.I’ve already looked at all the links in the forum but don’t understand that. Maybe there’s someone here who can help me. As an attachment I add two pictures, once my old Sche inwerfer and the new one. With the old one the standlight has two cables and the main bulb 3 cables, next to it is a quadrangular plug with three cables, what is that for? I ordered the new headlight with 5 pole connection see picture because I thought two plus three cables equal to 5, but now there is still the said quadrangular plug with three cables???? Can someone maybe tell me how to connect this?