I voted to close this question because it was a homework question in which the poster showed no attempt to answer himself. Unfortunnately someone has done his homework for him, so I will give an answer explaining the unsatisfactory nature of the question.
The instructions given for the use of notwithstanding are likely to
lead to clumsy sentences and should be ignored, where possible. If you
can, use notwithstanding at the start of a sentence — it is a far more
direct way of expression.
In support of this viewpoint I would cite the three of the four examples given for notwithstanding in the Oxford Dictionary online.
Preposition
‘Notwithstanding the evidence, the consensus is that the jury will not
reach a verdict’
Adverb
‘I didn't like it. Notwithstanding, I remained calm’
Conjunction
‘Notwithstanding that the hall was packed with bullies, our champion
played on steadily and patiently’