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.
Am I permitted to perform more than a prayer within single ablution?
All perfect praise be to Allah, The Lord of The Worlds, and may His Peace and Blessings be upon our Prophet Muhammad and upon all of his family and companions.
You are permitted to pray as many as you could within one ablution and to recite Quran so long as your ablution isn't nullified. And Allah Knows Best.
Is it permissible for a man to marry up to four wives (polygamy in Islam) for pleasure although he can`t afford that?
It is desirable for the man to have one wife if there was no need for him to have more, if he can't afford marriage forthcoming expenses.
Is wearing a cap permissible for boys, or girls?
All Perfect Praise is due to Allah, The Lord of The Worlds.
In principle, anything is permissible sol long as there is no Sharia evidence prohibiting it, thus wearing the cap by boys is permissible as long as it isn`t done in imitation of the disbelievers. Moreover, a Muslim woman should avoid all that which attracts the attention of men because whatever leads to the forbidden is forbidden. And Allah Knows Best.