The rewritten sentences are down below with a few explanations.
Step-by-step explanation:
The teacher told him to write the sentence on the blackboard.
Mother told him not to by anything the next day.
The boy asked him not to tell his secret to some one else.
My friend advised me to read that book.
My mother reminded me to buy some bread.
All the sentences are essentially to be made into passive voice with the lack of anything that pertains to the present and the continuous.