how to calculate net earnings on task apps