Malcom designed the roof plan of a house and implement shed. The dimensions of the house's roof are 25 ft wide by 40 long. The length of the shed's roof is 140 feet. If the two shapes are similar, what is the width of the shed's roof?