Centroid Calculator For Two Functions Of Intermediary