I hold Duke stock which offered Spectra energy which became Enbridge. How do I calculate the basis of the Enbridge, which I sold?

Duke offered Spectra at .5 shares per share of Duke. Enbridge was at .9 shares per share of Spectra.