"There are 5 one-story houses and 5 two-story houses on the west side of the street, which require a total of 115 doors." translates to 5x + 5y = 115
"there are 2 one-story houses and 5 two-story houses, which require a total of 85 doors." translates to 2x + 5y = 85
Substitute x = 10 for one story houses, and y = 13 for two story houses.