The relationship between radius and mass

Derive the relationship between radius and mass for a red giant where the core is a degenerate (non-relativistic) electron gas.