add_2_set_dot_production

Algorithm of two problems