Write a Deep learning problems in Python using TensorFlow.

Write a Deep learning problems in Python using TensorFlow.The coursework contains three large tasks, each with smaller sub-tasks. I will upload the brief below. They are to be executed in Python using Tensorflow, preferably using Microsoft Visuals Studio on a Linux machine. The brief contains detailed information about how the coursework should be structured and which libraries are allowed or not. The bits of code which were provided are also uploaded below. A number of sources is not specifically required, but external sources should be cited if used at all. The results should be produced exactly as stated in the brief, including the specified folders, functions and graphs.