Is it permissible for a woman whose menses exceeded (15) days to pray, fast and do what was prohibited on her to do during the latter period?
If the menses exceeded 15 days then it is deemed menstruation, and in this case she is obliged to pray and fast and to do what was impermissible for her to do during the latter period. In addition, she is obliged to make an ablution for each obligatory prayer after it's due time and making sure that impuity is removed. Finally, your menstruation period is over (Questioner) simlar to your menstruation in the previos month.
What is the ruling on speaking while relieving oneself?
It is disliked for one relieving himself to speak while doing so, except out of necessity. And Allah the Almighty knows best.
Is it permissible for a woman to say that she loves her husband more than her father?
It is impermissible for her to say so since this would hurt her father deep down. Allah, The Almighty, Says in this regard (What means): "And that ye be kind to parents." [Al-Isra/23]. Saying such a thing to her father isn`t an act of kindness since she should keep it to herself even if she felt that way.
What is the ruling on the cessation of blood after (40) days from delivery, but later continued sporadically during two days of Ramadan?
Once postpartum bleeding (Nifas) ceases, and the woman is certain that it won`t reoccur, then she becomes ritually pure and so she is free to make Ghusl (purificatory bath), pray, and fast. If the bleeding reoccurs before fifteen days from its cessation, and before the end of (60) days after delivery, then the ruling on postpartum bleeding is effective, and her fasting and prayer are null and void, thus she must make up the fasting that she missed and not the prayer during those particular days.