Problem-solving is a psychological process that comprises discovering, scrutinizing and resolving problems. The purpose of solving a problem is to…