withVars for Exercise 6 from Week 5.