Problem in Loading the products

Hello everyone

i have created a production line in which there will be three types of products(TYPEA, TYPEB, TYPEC). there is pallets coming from another flow. in the below picture you can see there is two pallets and three types of products the green color product is TYPEC and Blue is for TYPEB and red is for TYPEA. in the first pallet in station1 it need to attach the two products from TYPEC and when it move in to flow at other station2 later it need to attach the two products from TYPEA. in the second pallet in station2 it need to attach only TYPEB product. can anyone help me to solve this problem.

Inkedprocess_LI

Thanks and Regards
Naga Sudha Bheemavarapu