Economic inequality is a complex problem that results from many factors that interact with one…