Answer
Please see the work below.
Work Step by Step
We know that such solutions work by chemically reacting with fat and with hair. When the fat reacts with a strong base such as sodium hydroxide, it forms a salt of a fatty acid, a product otherwise known as soap.