The transformation of assertive sentences into interrogative sentences, and back again, is a standard exercise in English grammar. An assertive sentence makes a statement, which may be affirmative or negative. An interrogative sentence asks a question. The two forms can carry the same meaning only when the question is rhetorical, that is, asked to make a point rather than to gain information. The whole exercise depends on that idea.
The first rule concerns polarity. A rhetorical question implies an answer of opposite polarity. 'Who can trust a liar?' means 'Nobody can trust a liar', while 'Is he not honest?' means 'He is honest.' Therefore, when an affirmative statement is changed into a question, the question must be negative; when a negative statement is changed, the question must be positive. If the polarity is not reversed, the result is a genuine question and the meaning is lost.
The second rule concerns word order and the auxiliary. English forms questions by moving the first auxiliary before the subject. 'You can win' becomes 'Can you not win?' When the verb has no auxiliary, do, does or did is used and the main verb returns to its base form. 'She sings well' becomes 'Does she not sing well?' and 'He did not come' becomes 'Did he come?' A form of be used as the main verb inverts directly: 'It is true' becomes 'Is it not true?'
The third rule concerns special words that carry polarity. Never becomes ever: 'I never doubted you' becomes 'Did I ever doubt you?' Nobody becomes who: 'Nobody likes defeat' becomes 'Who likes defeat?' Everybody or all becomes 'who ... not': 'Everybody admires courage' becomes 'Who does not admire courage?' Nothing becomes what or anything: 'Nothing is impossible for the determined' becomes 'What is impossible for the determined?' No use becomes 'what is the use'.
The reverse transformation applies the same rules in the opposite direction. First, identify the implied answer. Then restore subject-verb order, reverse the polarity, remove do, does or did if they were only question markers, and change the special words back. 'Who does not love his country?' becomes 'Everybody loves his country.' 'When can a coward be happy?' becomes 'A coward can never be happy.' 'What is the use of such learning?' becomes 'Such learning is of no use.' The question mark gives way to a full stop.
Certain cautions apply throughout. Tense, person and the main vocabulary should remain unchanged, so 'He was not there' becomes 'Was he there?', not 'Is he there?' Genuine questions such as 'Where is the station?' cannot be transformed. Contractions are acceptable, but the full form is safer in formal answers, and the word order differs: 'Is she not kind?' but 'Isn't she kind?'
In conclusion, the transformation is less mechanical than it seems. It asks the student to understand that a question can assert, and that the assertion it carries is the opposite of its surface form. Once the polarity rule, the auxiliary rule and the special words are mastered, any rhetorical question can be turned into a statement, and any statement into a forceful question, without altering the meaning.