Creating slat for connecting extruded contour

How do I create this slat for connecting my extruded contours as shown in the images, thanks