It’s like complicated distributive property.
See attachment below.
Hope this helped!
5.2m questions
6.7m answers