ex1.tex a) constant b solved