Tata chemicals demerger

Hi
Can anyone help me to find out the cost of acquisition of tata consumer products share price which I got from tata chemicals demerger
I bought tata chemicals at 589 per share.
How to calculate the cost price for tata consumer products?
Thank you

Here is the formula

Hi…if possible could you please explain a little bit more.thank you