A student at a university makes money by buying and selling used cars. Charles bought a used car and later sold it for a 20​% profit. If he sold it for ​$4560​, how much did Charles pay for the​ car? Charles paid ​$? for the car.