The combining form -year-old dates from Middle English (ȝeer old(e), yeer old(e), yere old(e)).
Practice speaking and memorizing "year-old" and many other words and sentences in English.