NinjaDevo sent me a message about this. Here's a copy of the reply I sent him:
The default for the LaTeX box on the site is to be in "Display" math mode. I often switch this off to begin with by inserting $$ right at the start. If I then type words it comes out as text.
In the "average slope" case I wanted to start with some "Inline" math, which requires a single $ immediately before and immediately after the math (so it looks like I started the whole thing with 3 dollar signs - 2 to switch off the default "Display" mode and 1 to switch on the "Inline" mode).
Putting $$ immediately before and after the math produces "Display" mode math, where the math appears centred on a new line.
You switch off math mode and enter text mode by using either $ (for "Inline" math) or $$ (for "Display" math).
Hope this helps.
PS I'm no LaTeX expert - I just use trial and error and see what results!