Expleo Group interview question

How would you attach these two components together (shown diagram)?