Does passing wind from the anus affect ritual purity?
Ablution is nullified by the passing of wind from the anus, but washing the anus is not required as wind leaves no impurity.
What is the ruling on the ablution of one who washes his arms from the wrist to the elbows?
In the school of Imam al-Shafi'i (may Allah have mercy on him), washing the arms (hands) is achieved by washing the arms completely, from the fingertips to the elbows. Washing only the palms at the beginning is insufficient, as washing them at the beginning is a Sunnah, but after washing the face, it becomes obligatory (fard). The person performing ablution must wash his palms along with the arms after washing the face. If he does not wash his palms, his ablution is invalid and not correct. And Allah the Almighty knows best.
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 a woman`s prayer considered invalid if non-Mahrams (marriageable men) saw her offering it?
A woman`s prayer isn`t invalidated if non-Mahrams saw her offering it, but she had better pray in isolation.