As the flat roof structure is a little sloped, it is not capable of draining the water completely. A…