Is touching a non-Mahram woman invalidates person's ablution?
Touching non-Mahram woman is prohibited, and according to the Shafiee's, it invalidates the ablution. And Allah Knows Best.
Is it permissible for a woman who has become pure before the end of forty days of confinement to perform different acts of worship? and is it lawful for her husband to have sex with her?
Once postpartum bleeding ceases and she is certain that it won`t happen again, she becomes pure, and so she should perform Ghusl (ritual bath), pray, and fast. She can also have sex with her husband even before the end of (40) days because the minimum of postpartum bleeding is a moment, and the maximum is (60) days. However, the postpartum bleeding for the majority of women is (40) days, but this does not apply to rest of them.
Is it permissible to single out Fridays, Saturdays, and Sundays to make up for missed fasting without fasting a day before ,or after each ?
Yes, it is permissible to make up for missed fasting during the aforesaid days, and it is also valid to offer non-obligatory and vowed fasting as well. However, fasting a day before or after each isn`t obligatory. And Allah Knows Best.
What should a worshiper who has forgotten a pillar of prayer do?
If he/she remembered the forgotten pillar before offering it in the following Rakah (unit of prayer), then he/she should offer it, and continue the prayer, then offer Sujood As-Sahw (Prostration of forgetfulness) at the end of it. But, if he/she remembered that forgotten pillar after having offered it in the following Rakah, then he/she should offer a new Rakah in its (the one in which he forgot a pillar) place, and offer Sujood As-Sahw.