(2) Master age+(Master age-apprentice age) =4 1.
Substitute (1) into (2) to obtain
2* (apprentice age *2-2)- apprentice age =4 1.
3* The age of the apprentice =4 1+4=45.
Apprentice age = 15 years old.
Master's age = 15*2-2=28 years old.