The best way is to start with the start time, then find the end time.
DateTime startTime = DateTime.Now;
...
DateTime endTime = DateTime.Now;
If you then subtract them, you get a Timespan:
TimeSpan takenSoFar = endTime - startTime;
When it comes to the second attempt, you do the same thing:
DateTime startTime2 = DateTime.Now;
...
DateTime endTime2 = DateTime.Now;
If you then subtract them, you get a Timespan:
TimeSpan takenThisAttempt = endTime2 - startTime2;
You can then add the two Timespans together:
takenSoFar += takenThisAttempt;