Examples on how to calculate net earnings