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.
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 prayer nullified by having thoughts while performing it?
Prayer isn`t nullified by having thoughts while performing it, provided that the praying person offers all of its pillars and meets all of its conditions. However, the reward decreases significantly in the absence of reverence since a praying person is rewarded according to the attentiveness of his/her heart during prayer.
I suffer from absentmindedness and constant worries during prayer, what should I do?
You should take refuge in Allah from the whispers of the devil and life worries. You should also seek Allah`s help and offer a lot of Istigfar (seeking the forgiveness of Allah). And Allah Knows Best.