What factors make up the price of budget cars

In pre -crisis times in my city, a budget car cost about $ 15,000. With an average salary of about 500. Total ratio of 30 times. It turns out that an ordinary citizen should not eat and not feed his family for three years in order to buy a car for every day to go to work.