The index presents how much money the Millennials need to earn per year in order to be able to buy a house in a given city , basing on the difference between house prices and the Millennials ' earnings in the given area .