I think this is the start to an attempt at Mason's Gain Formula?
https://en.wikipedia.org/wiki/Mason%27s_gain_formula