And, most importantly, how much you can invest in a future car.
When you think over everything, do not forget about the safety of the car (you should not take a tin can) since you will be responsible not only for your life, but also for the life of your passengers.
It is preferable that your first car would be inexpensive to maintain and operate.