Rebecca bought 22 items for her camping trip, including tent stakes, packets of drink mix, and bottles of water.  She bought 3 times as many packets of drink mix as tent stakes.  She also bought 2 more bottles of water than she did tent stakes.  How many tent stakes did she buy?
Let x represent the number of tent stakes.
Drink Mix: 3x.
Bottles of Water: x+2.
Total: x+3x+x+2=22
5x+2=22
5x=20
x=
<gadget id="calculator">4</gadget>
<output>4</output>
4 tent stakes.

<result>4</result>