What should one who forgot to offer the second Sajda during congregational prayer, and remembered it before the end of the prayer do?
All perfect praise be to Allah, The Lord of The Worlds. Whoever forgets a pillar of prayer while in congregation must follow the lead of the Imam, and after the latter offers Tasleem, he should offer one Rakah, then perform Sujood As-Sahw (prostration of forgetfulness). And Allah Knows Best.
Is it permissible for a person who has to make up for missed fasts to fast six days of Shawwal (the month directly after Ramadan) before making up for the missed fasts?
Yes, it is permissible for him/her to do so, but it is better that they make up for missed fasts first. And Allah Knows Best.
What is the ruling on someone who vowed to fast for two consecutive months, but failed to do so?
He is obliged to fulfill his vow by fasting for two consecutive months, but if he fails to do so then, it remains a debt on him until he either fulfills his vow, or dies. In case of his death, his guardian is supposed to fast on his behalf, or donate food from his estate in return for fasting, but if the guardian fails to do so then, it is all in the Hands of Allah.
Is it permissible to distribute the raw meat of the vowed animal sacrifice amongst the poor/to offer it to them in cooked form?
It is impermissible for the vow-maker to eat from the vowed animal sacrifice, rather, he/she should distribute it as he/she had intended upon making the vow, but if the vow was a general one, without any specification then, it is better to give it as raw meat.