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.
Is Zakah due on the orphan`s money?
Yes, Zakah is due on the money of the orphan.
What is the ruling when the duration of the monthly period varies, and sporadically increases?
If the period didn`t exceed (15) days from the first seeing of blood discharges until its end including the times of temporary cessation, then it is menses. But, if the period exceeded (15) days, then the woman experiencing this is Mostahadah (bleeding outside the time of monthly period), and should abide by her regular period, and consult one of the scholars.
Is it permissible for one to masturbate in order not to commit fornication?
This is called committing the milder of the two evils such as eating a carcass in fear of death, and this happens when committing fornication is very likely to occur.