When new user add a product A in cart product B should add automatically with that cost. Product A and Product B having some price.
We have Magento 2 Free Gift extension but as per your requirement, we need customization.
and have some questions
Question.1) Product A and Product B is a fixed product?? (So we can create rules and you want to add product A and Product B SKU).