Understanding the Potential of Anticipation, Teaching, and Response to Struggle in the Learning of Mathematics