This question relates to the course material in module 3. As…