How do I calculate the gross profit and net profit from the trial balance