How to Dispose or Restore an Asset And Calculate Gain or Loss