Do certain vaginal discharges and incontinence of urine nullify ablution, and should underwear be changed?
A person afflicted with constant impurity due to urinary incontinence and vaginal discharges is obliged to make ablution for every obligatory prayer when its time is due, and after removing Najaasah (impurity), and wearing a clean diaper. He/she is obliged to pray immediately even if the impurity is being released, and he/she is obliged to remake ablution, and the aforementioned for every obligatory prayer.
What is the ruling on determining the sex of the baby whether through killing the female spermatozoa, or any other way in order to have a male?
If it is done through having a certain type of food, taking a certain type of medication, or organizing the time of the marital relation, then it is permissible.
What should a praying person who doubts having offered one, or two prostrations in the third Rakah (unit of prayer) do?
Whoever has doubts about their prayer should consider what is less i.e. the above person should offer another Sajda (prostration) and complete his/her prayer, then offer Sujood As-Sahw (prostration of forgetfulness). And Allah Knows Best.
Is it permissible for a man to wear transparent clothing?
It is not permissible for a man to wear transparent clothing that reveals his 'Awrah (the area that must be covered). The 'Awrah of a man is "from his navel to his knees", and modesty is more prudent. And Allah Knows Best.