d = (t + r) / 2
Multiply each side by 2 :
2d = t + r
Subtract r from each side :
2d - r = t
6.5m questions
8.6m answers