texed solution of problem session 5