Composition Ratio calculation

1g of cefepime for injection, is equivalent to 527mg/g of Cefepime on anhydrous basis and equivalent to 323 mg/g of L-Arginine on anhydrous basis. How to calculate this type of composition ratio? Can anyone help!