Comparing output from two different companies relative to their financial capacity

#1
So basically i want to compare these companies while i correct for their financial capacity.
Can you help to point me in the direction of which model to use?

I appreciate any help i can get.
Thank you