How to post a product item with mutiple images in their respective controllers

I designed the database table for a product and many images, by creating a table product and a table for images, I’m having issues in my form in the view, to save a product with many images in their respective tables.

What have you tried, and specifically what is not working?

I can post successfully in the product table, but I don’t know how to save images for that product simultaneously in the images tables, in the product add.ctp form in view

Can you share the code declaring the associations between the products and images tables?