Inferring a Duplication, Speciation and Loss History from a Gene Tree