function subst: Chap 03 p.53 Line 1
function subst2: Chap 03 p.53 Line 3
function subst2: Chap 03 p.53 Line 4