Everyone is different. A visual genius could master graphic design in months. An ordinarily gifted person could take two years. Another person might not be able to master graphic design even after years. It depends on how many hours you put in and how consistent you are in your study.