John decides to go back to school to get his PhD. He first takes 1 year of courses to get acclimated back to school life before starting his PhD. After that, he spends 2 years learning the basics of his field. He then starts research, and he spends 75% more time on research than he did learning the basics. He then spends half as long on writing his dissertation as his acclimation period. How long did it take him to do everything?