Or search by topic
$2p + s = c$
$s + c = 3p$, but $c=2p+s$ so: $$\begin{align}s+(2p+s)&=3p\\Learn to write procedures and build them into Logo programs. Learn to use variables.
Write a Logo program, putting in variables, and see the effect when you change the variables.