Deriving The Duration Formula