A developer has land that has x feet of lake frontage. The land is to be subdivided into lots, each of which is to have either 80 feet or 100 feet of lake frontage. If 19 of the lots are to have 80 feet of frontage each and the remaining 40 lots are to have 100 feet of frontage each, what is the value of x?