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