For under 47k, (off the top of my head) you can buy a Subaru BRZ, Toyota gr86, Toyota gr Corolla, Honda Civic type r, Subaru WRX, VW gti... None of those are budget conscious family cars so something is off with that average car price you quoted.
You can buy a Nissan versa for under 18k today. https://www.nissanusa.com/vehicles/cars/versa-sedan/specs-tr... .