The answer would look something like this:
There could also have a simplified version.
I hope this helps.
9.4m questions
12.2m answers