A kit note uses n for the number of kits. Each kit needs four pieces, plus two extra pieces for the whole order. Put the variable in the sentence and give the full expression a separate block.

Use single and double dollar delimiters

Let $n$ be the number of kits.

$$
4n + 2
$$

A single pair of dollar signs wraps n inside the sentence.

Illustrated inline math. The explanation stays in normal prose.

Check both expressions in the delivery viewer

In a preview with math support, n should read in line with the sentence and 4n + 2 should display on its own line. If you see the dollar signs, check whether the viewer supports math and inspect the saved delimiters. Keep the explanation beside the expression so the numbers still make sense in source.

A display block gives 4n + 2 its own space.

Illustrated display check. Keep the meaning of the extra two pieces nearby.

GitHub’s reference for Markdown math